Skip to content
SQL injection Disclosed report Intermediate CVE-2023-28359

NoSQL injection in listEmojiCustom method call

The listEmojiCustom method call in Rocket.Chat is vulnerable to NoSQL injection, allowing unauthenticated users to inject query operators when at least one custom emoji exists. This causes a delay in server response, with limited impact.

rijalrojan Follow

Originally disclosed on HackerOne

  • Triaged in 9 hours
  • Fixed in 6 months
  • Disclosed after 6 months

Summary by the program

A NoSQL injection vulnerability has been identified in the listEmojiCustom method call within Rocket.Chat. This can be exploited by unauthenticated users when there is at least one custom emoji uploaded to the Rocket.Chat instance. The vulnerability causes a delay in the server response, with the potential for limited impact.

The original report as published on HackerOne, by rijalrojan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the listEmojiCustom method passes user-supplied input directly into a NoSQL query without sanitising operators, allowing query manipulation.

Impact

An unauthenticated attacker could cause a delay in server response, with limited impact and no evidence of data exposure or full compromise.

What the attacker needed

At least one custom emoji uploaded; unauthenticated access

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

NoSQL injection is when user input is inserted into a database query without proper checks, letting an attacker change the query's meaning. Here, an unauthenticated user can send special input to a method that lists custom emojis, causing the server to take longer to respond. The impact is limited to a delay, not data theft or full control.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by rijalrojan

View all

17 more disclosed reports, best first.

More from Rocket.Chat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.