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.
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.
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.
The Voxtelesys SMS integration in Rocket.Chat used a DNS lookup to check whether a user-supplied media URL pointed to an internal host, but the check could be bypassed with DNS rebinding. An unauthenticated attacker could make the server request internal resources and, through a LiveChat agent, read the responses.
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'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.
The deleteFileMessage Meteor method deletes any uploaded file by ID without checking authentication, because the authorization check is skipped when no user is logged in. An attacker who knows a file ID, which is exposed in public channel messages and download URLs, could permanently delete that file.
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.
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.
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.
The Rocket.Chat DDP method autoTranslate.translateMessage accepted a client-supplied message object and translated it without checking the caller's identity or room membership. Any authenticated DDP user could read the content of any message by its ID, including private channels, direct messages and E2EE rooms.
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.
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.
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.
A user who left or was banned from a channel could still delete their own messages by calling the delete-message API directly with the message ID, even though the interface no longer offered that option. This let a removed user erase evidence of their violations.
The initial end-to-end encryption password generated by Rocket.Chat Mobile before version 4.5.1 had insufficient entropy due to bias in its generation process. An attacker with the right time and resources could crack the password.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
RC
Rocket.Chat
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.