CVE-2024-37405 SQL injection in Rocket.Chat

Medium 6.5 Published Updated

Attackers can leak livechat messages by exploiting NoSQL injection vulnerabilities in Rocket.Chat login and history loading endpoints.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-37405?

CVE-2024-37405 is a medium-severity SQL injection vulnerability in Rocket.Chat, published on 12 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Livechat messages can be leaked by combining two NoSQL injections affecting livechat:loginByToken (pre-authentication) and livechat:loadHistory.

Weakness: CWE-94

Which versions are affected by CVE-2024-37405?

How do I fix CVE-2024-37405?

No fix has been published for CVE-2024-37405 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-37405 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-37405 exists.

Sources

Also known as GHSA-gxww-73x5-rvc2.

Is CVE-2024-37405 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free