RocketChat Unauthenticated Read Access

Nash N Sulthan
Published on
16 Jun 2021

RocketChat is a free and open-source communication platform. RocketChat’s LiveChat API endpoints have a vulnerability that allows access to messages sent to public and private channels. To define authentication requirements for API endpoints, RocketChat uses two specific method calls, and method.callAnon. The authRequired flag sets the rule for authentications. Any endpoints going through will require user authentication while the same endpoints if it goes through method.callAnon will not require authentication. Any sensitive function that does not require any authentication can be easily bypassed using method.callAnon whereby the attacker will get the privilege to access messages of public as well as private channels.

Mitigation / Precaution

  • In order to patch this vulnerability, please install the official patch RocketChat made available for supported, vulnerable instances.
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Nash N Sulthan
Nash N Sulthan
Cyber Security Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment