Skip to content

HackerOne

Rocket.Chat

Every publicly disclosed report for Rocket.Chat and what kind of bugs they were.

disclosed reports
102
most reported class
XSS
bug classes found
12
first disclosure
2018
Scope, rewards and live status on bugbounty.fyi Paused Disclosure program, no bounty 5 targets in scope

Disclosed reports

Newest first. Only what Rocket.Chat chose to make public.

IDOR

Mass assignment in chat.sendMessage allows unprivileged users to forge message state: persistent room DoS, stored HTML injection, and cross-user write

The chat.sendMessage REST endpoint accepts arbitrary internal message fields because the nested message schema lacks additionalProperties:false and required validation, unlike other message paths. An authenticated low-privileged user can forge message metadata to cause persistent room-wide denial of service, inject stored HTML/iframes, write to another user's private starred list, pin messages without permission with spoofed attribution, spoof edit attribution, and register invisible mentions.

Rocket.Chat

Medium
Access control

DDP methods getThreadsList / getThreadMessages leaks private thread content to any authenticated low privilege user (unpatched sibling of #1446767)

The DDP methods getThreadsList and getThreadMessages accept untyped rid and tmid parameters, so a MongoDB operator object can be substituted for a string. The authorization check resolves to a room the attacker can access while the data query fans out across all rooms, disclosing private thread parents and replies to any low-privilege authenticated user.

Rocket.Chat

High
XSS

Stored HTML Injection (CWE-79) via Livechat Visitor Name

The Livechat visitor name field accepted unsanitised HTML and stored it raw, then rendered it with dangerouslySetInnerHTML in the agent queue panel. An unauthenticated attacker could inject a clickable link with arbitrary text into the DOM of any agent viewing the queue.

Rocket.Chat

Low
OAuth / SSO

Authentication Bypass via XML Signature Wrapping in SAML SSO

The SAML SSO implementation verified XML signatures but did not bind the validated signature to the response or assertion elements. An attacker could submit a wrapped document with forged identity attributes alongside any valid signature from the trusted IdP certificate, allowing login as an arbitrary user.

Rocket.Chat

Critical
XSS

Stored XSS in Rocket.Chat HTML File Export — Unauthenticated Entry via LiveChat

Rocket.Chat's HTML export feature writes message content and usernames into HTML without escaping, so an unauthenticated LiveChat visitor can inject JavaScript that runs when an agent exports the conversation and opens the file. The same flaw affects the GDPR data download, letting a single malicious message poison the personal data export of every channel member.

Rocket.Chat

Medium
IDOR

Unauthenticated reading of every file via livechat auth and predicting MongoDB ObjectId()

The file download endpoint authorised livechat users by checking a room type and room ID/token pair, but never verified that the room ID matched the requested file's room. Because file IDs were sequential MongoDB ObjectIds and the filename segment was ignored, an attacker could enumerate and read every uploaded file without authentication.

Rocket.Chat

Critical
SSRF

SSRF via Improper Redirect Validation in Rocket.Chat oEmbed Function

The oEmbed preview feature validated the initial URL for internal addresses but followed redirects without re-checking, so a shortened URL pointing to an internal host was fetched. An attacker could reach internal network services and view parts of their responses through the preview.

Rocket.Chat

Medium
SSRF

SSRF via improper validation after DNS name resolution in the link-preview feature

The link-preview feature checked the hostname of a posted URL for local addresses before fetching it, but did not re-check the IP address after DNS resolution. An attacker could point a domain they control at an internal address and have the server fetch it, exposing internal hosts and their responses through the preview.

Rocket.Chat

High
IDOR

IDOR: autotranslate.translateMessage Full Message Content Leak

The autotranslate.translateMessage API endpoint returned the full content of any message to any authenticated user who supplied a message ID, without checking whether that user could access the message's room. An attacker could read private group, direct message and channel content by guessing or obtaining message IDs.

Rocket.Chat

Medium
SQL injection

Complete authentication bypass to admin permissions

A NoSQL injection flaw in Rocket.Chat let an unauthenticated attacker bypass authentication by supplying a MongoDB operator as the access_token query parameter, matching the first OAuth token in the database. This allowed account takeover without valid credentials, provided at least one OAuth token existed.

Rocket.Chat

Critical
Open redirect

Open Redirect in Rocket.Chat

The SAML single-logout redirect endpoint placed the user-supplied redirect value straight into a 302 Location header without validation. Because the route needed no login, an attacker could use a genuine Rocket.Chat domain to send victims to any external site.

Rocket.Chat

Medium
XSS

XSS via /api/v1/chat.postMessage

A chat message attachment field could contain HTML that was rendered without encoding, so an attacker could send a crafted message that runs script in the recipient's client. The report shows a proof of concept that triggers an alert when the message is viewed.

Rocket.Chat

Critical
Access control

Guest Privilege Escalation to admin group

A guest user could add themselves to the bot group, which holds the manage-own-integrations permission, and then create an integration script that adds them to the admin group. This let a guest become a server administrator.

Rocket.Chat

Critical
Access control

Upload of Avatars for other Users

An unprivileged authenticated user could change another user's avatar by calling the ufsImportURL API method with a different userId. This allowed attackers to upload avatar pictures on behalf of any other user.

Rocket.Chat

Medium
XSS

CSS Injection in Message Avatar

The sendMessage method allows custom avatars that are inserted into inline CSS without proper escaping, so an attacker can inject CSS rules. This lets an attacker overlay UI elements to phish for credentials, such as a 2FA token, that a user might accidentally type into the chat.

Rocket.Chat

Medium
Info disclosure

Unread Messages can leak Message IDs

The Meteor method unreadMessages accepted a regular expression as the message ID, allowing an attacker to infer whether a message with a given ID exists by observing error responses. This could leak private message IDs to unauthorised clients.

Rocket.Chat

Medium
Access control

Registration bypass with leaked Invite Token

The validateInviteToken API route passed an unauthenticated user-supplied token directly to a database lookup without checking its type, so an attacker could send a MongoDB regex object instead of a string. By testing regex prefixes and observing the boolean response, an attacker could guess a valid invite token and then use it to register an account or join a private channel.

Rocket.Chat

High
Access control

Unauthenticated clients can modify Livechat Business Hours

The Meteor method livechat:saveOfficeHours did not check whether the caller was authenticated before writing business hours to the database. An unauthenticated client could call it directly and change the global Livechat business hours.

Rocket.Chat

Medium
Access control

Improper ACL in Message Starring

The message starring feature checked room access using a room ID supplied by the user, but did not verify that the target message belonged to that room. An attacker could star or unstar any message by providing a room they had access to.

Rocket.Chat

Medium
UI spoofing

User Impersonation through sendMessage options

The sendMessage Meteor call accepted custom avatar and alias parameters, letting any user who could post in a room send messages that appeared to come from someone else. An attacker could use this to impersonate other members and carry out social engineering.

Rocket.Chat

Medium
Access control

Authentication Bypass in login-token Authentication Method

The login-token authentication handler passed a user-supplied JSON object directly into a MongoDB query, allowing an attacker to use a query operator to match any user. An unauthenticated attacker could obtain a valid authentication token for the first user in the database, typically a privileged account.

Rocket.Chat

Critical
XSS

Impersonation in Sequential Messages

Sequential messages from the same user are rendered without repeating author info, and an attacker can use a custom CSS class to hide their first message so that a second message appears to be written by the previous author. This allows impersonation of another user in the chat timeline.

Rocket.Chat

Medium