CVE-2022-32226: Rocket.Chat - Access Control Bypass
- Cve: CVE-2022-32226
- Name: Rocket.Chat - Access Control Bypass
- 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.
- Impact: Attackers can bypass room access permissions, potentially accessing unauthorized user information or rooms.
- Remediation: Update Rocket.Chat to version 5 or later, or apply the latest security patches.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to send crafted input data
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00802
- Epss percentile: 0.57615
- Assignee: [email protected]
- Published at: 2022-09-23T19:15:11Z
- Age in days: 1523
- Modified at: 2026-06-17T04:46:55Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-32226
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
| CWE-20 | Improper Input Validation |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/1410357 | nvd | 2022-09-23 |
References
| Url | Source | Tags |
|---|---|---|
| https://hackerone.com/reports/1410357 | nvd | Exploit, Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rocket.chat:rocket.chat | >= 4.8.0, < 4.8.2; < 4.7.5 | no | nvd | /v1/products/rocket.chat/rocket.chat |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-09-23
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 1450
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since