CVE-2021-48022Rocketchat Rocket.Chat authorization bypass through user-controlled key (IDOR)
CVSS score
8.7
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.29%
0.29% chance of exploitation in the next 30 days, higher than 21.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Rocket.Chat versions 0.61.0 before 3.11.4, 3.12.x before 3.12.4 and 3.13.x before 3.13.2 contain a missing authorization vulnerability allowing unauthenticated attackers to read any room's messages via the livechat:loadHistory Meteor method. Attackers can mint a guest token through livechat:registerGuest and send POST requests to /api/v1/method.callAnon with a target rid parameter to retrieve message history without membership checks. Exploitation evidence was first observed by the Shadowserver Foundation on 2025-02-13.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running RocketChat Rocket.Chat and compare its version with the affected versions.
Update to a fixed version
- Update Rocket.Chat to 3.11.4, 3.12.4, 3.13.2 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| RocketChat Rocket.Chat | ≥ 0.61.0, < 3.11.4 · ≥ 3.12.0, < 3.12.4 · ≥ 3.13.0, < 3.13.2 |
Weakness
- CWE-639 authorization bypass through user-controlled key (IDOR)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2021-48022 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-48022?
CVE-2021-48022 has a CVSS 4.0 base score of 8.7 (high).
Which versions are affected?
Rocketchat Rocket.Chat (≥ 0.61.0, < 3.11.4; ≥ 3.12.0, < 3.12.4; ≥ 3.13.0, < 3.13.2)
Is there a patch for CVE-2021-48022?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/RocketChat/Rocket.Chat/commit/9e63222893
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/rocketchat/unauth-message-read.yaml
- securifyinc.com/disclosures/rocketchat-unauthenticated-access-to-messages
- www.vulncheck.com/advisories/rocket-chat-3.13.2-unauthenticated-idor-via-livechat-loadhistory
- www.vulncheck.com/advisories/rocket-chat-before-3.13.2-unauthenticated-idor-via-livechat-loadhistory
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.