CVEvulnerability

CVE-2022-32226

4.3 MEDIUM Published 2022-09-23 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-09-23
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-20, CWE-284

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 configurations

• rocket.chat rocket.chat (< 4.7.5) • rocket.chat rocket.chat (>= 4.8.0 < 4.8.2)

Related

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-284 Improper Access Control weakness

References