CVE-2022-32226
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.
How to fix
- rocket.chat rocket.chat4.7.5, 4.8.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rocket.chat rocket.chat | v < 4.7.5, 4.8.0 ≤ v < 4.8.2 | 4.7.5, 4.8.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.