CVE-2024-5213 Exposure of Sensitive Information in mintplex-labs/anything-llm

Medium 5.3 Published Updated

Attackers can obtain bcrypt password hashes from API responses, potentially aiding offline cracking attacks against user accounts.

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-5213?

CVE-2024-5213 is a medium-severity vulnerability in Mintplexlabs Anythingllm, published on 20 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In mintplex-labs/anything-llm versions up to and including 1.5.3, an issue was discovered where the password hash of a user is returned in the response after login (`POST /api/request-token`) and after account creations (`POST /api/admin/users/new`). This exposure occurs because the entire User object, including the bcrypt password hash, is included in the response sent to the frontend. This practice could potentially lead to sensitive information exposure despite the use of bcrypt, a strong hashing algorithm. It is recommended not to expose any clues about passwords to the frontend.

Weakness: CWE-201

Which versions are affected by CVE-2024-5213?

It affects 1 product.

Products include Mintplexlabs Anythingllm.

How do I fix CVE-2024-5213?

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

Is CVE-2024-5213 being exploited?

There is no known exploitation of CVE-2024-5213 in the wild and no public exploit code.

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-c72r-fww5-rpch.

Is CVE-2024-5213 in your software?

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

Check your SBOMs for free