Vulnerability · Published Sep 23, 2022 · Assigned by hackerone
CVE-2022-32226
Medium 4.3
In plain English
A medium-severity improper access control in Rocket.Chat. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Rocket.Chat | Fixed in 4.7.5, 4.8.2 and 5.0.0 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://hackerone.com/reports/1410357 x_refsource_MISC