RocketChat Unauthenticated Read Access

By
Nash N Sulthan
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.

Written by
Nash N Sulthan
Nash N Sulthan
Cyber Security Lead Engineer
Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 10 days