CVE-2022-32226 Missing authorization in Rocket.Chat
Attackers can bypass room access controls in Rocket.Chat by injecting MongoDB query operators, allowing unauthorized reading of user data from rooms.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-32226?
CVE-2022-32226 is a medium-severity missing authorization vulnerability in Rocket.chat Rocket.chat, published on 23 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An improper access control vulnerability exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 due to input data in the getUsersOfRoom Meteor server method is not type validated, so that MongoDB query operator objects are accepted by the server, so that instead of a matching rid String a$regex query can be executed, bypassing the room access permission check for every but the first matching room.
Which versions are affected by CVE-2022-32226?
It affects 1 product.
Products include Rocket.chat Rocket.chat.
How do I fix CVE-2022-32226?
No fix has been published for CVE-2022-32226 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-32226 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-32226 exists.
Other vulnerabilities in Rocket.chat Rocket.chat
Sources
Also known as GHSA-jx87-887q-554q.