CVE-2021-48022: Rocket.Chat < 3.13.2 Unauthenticated IDOR via livechat:loadHistory
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Rocket.Chatto a version that resolves this vulnerability.Fixed in 3.11.4 - Upgrade
Upgrade
Rocket.Chatto a version that resolves this vulnerability.Fixed in 3.12.4 - Upgrade
Upgrade
Rocket.Chatto a version that resolves this vulnerability.Fixed in 3.13.2