CVE-2024-4286 Improper Neutralization of Special Elements in mintplex-labs/anything-llm

Medium 4.9 Published Updated

Admins can inject expressions to delete user threads or inject fake chat history, impacting data integrity and availability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-4286?

CVE-2024-4286 is a medium-severity code injection vulnerability in mintplex-labs/anything-llm, published on 26 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Mintplex-Labs' anything-llm application is vulnerable to improper neutralization of special elements used in an expression language statement, identified in the commit id `57984fa85c31988b2eff429adfc654c46e0c342a`. The vulnerability arises from the application's handling of user modifications by managers or admins, allowing for the modification of all existing attributes of the `user` database entity without proper checks or sanitization. This flaw can be exploited to delete user threads, denying users access to their previously submitted data, or to inject fake threads and/or chat history for social engineering attacks.

Weakness: CWE-917

Which versions are affected by CVE-2024-4286?

How do I fix CVE-2024-4286?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-4286 being exploited?

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

Sources

Is CVE-2024-4286 in your software?

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

Check your SBOMs for free