RocketChat Unauthenticated Read Access

Published on 16 Jun 2021
Vulnerability

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, method.call and method.callAnon. The authRequired flag sets the rule for authentications. Any endpoints going through method.call 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.
Nash N Sulthan
Written by
Cyber Security Lead Engineer

Nash is a seasoned Security Engineer who brings a multifaceted approach to safeguarding digital environments. Not only does he excel in implementing robust security measures, but he's also deeply involved in the research and development process, constantly innovating to stay ahead of cyber threats. Nash's commitment to security extends beyond the conventional, making him a valuable contributor to the evolving landscape of digital defense.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo