PT-2022-4945 · Unknown · Rocket.Chat

Gronke

·

Published

2022-06-01

·

Updated

2022-09-27

·

CVE-2022-32226

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Rocket.Chat versions prior to 5 Rocket.Chat versions prior to 4.8.2 Rocket.Chat versions prior to 4.7.5
Description An improper access control issue exists due to insufficient input validation in the getUsersOfRoom Meteor server method. This allows MongoDB query operator objects to be accepted, enabling the execution of a $regex query instead of a matching rid String. As a result, the room access permission check can be bypassed for all but the first matching room. This could potentially allow a remote attacker to disclose protected information.
Recommendations For Rocket.Chat versions prior to 5, update to version 5 or later to resolve the issue. For Rocket.Chat versions prior to 4.8.2, update to version 4.8.2 or later to resolve the issue. For Rocket.Chat versions prior to 4.7.5, update to version 4.7.5 or later to resolve the issue. As a temporary workaround, consider restricting access to the getUsersOfRoom Meteor server method until a patch is available.

Exploit

Fix

Improper Access Control

RCE

Weakness Enumeration

Related Identifiers

BDU:2022-06137
CVE-2022-32226

Affected Products

Rocket.Chat