Improper input validation in Rocket.chat

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 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.

EPSS: 0.007 (49.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Affected products

  • Rocket.chat
  • N/a Rocket.chat — versions Fixed in 4.7.5, 4.8.2 and 5.0.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-32226?
CVE-2022-32226 is a medium-severity vulnerability in Rocket.chat, classified under Improper Access Control. CVSS score: 4.3/10. Published 2022-09-23.
How severe is CVE-2022-32226?
Medium severity. CVSS v3 base score is 4.3 out of 10.