Skip to content

CVE-2022-32226 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 operat...

MediumCVSS 4.3 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Rocket.Chat < 4.7.5; >= 4.8.0, < 4.8.2 4.7.5, 4.8.2 Fixed

Affected products

ProductAffected versionsFixed in
Rocket.Chat < 4.7.5 4.7.5
Rocket.Chat >= 4.8.0, < 4.8.2 4.8.2

References