CVE-2024-4287 Improper Input Validation in mintplex-labs/anything-llm

High 8.1 Published Updated

A manager can create administrator accounts by sending unvalidated JSON to the workspace update endpoint, leading to privilege escalation.

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

CVE-2024-4287 is a high-severity missing authorization vulnerability in Mintplexlabs Anythingllm, published on 20 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In mintplex-labs/anything-llm, a vulnerability exists due to improper input validation in the workspace update process. Specifically, the application fails to validate or format JSON data sent in an HTTP POST request to `/api/workspace/:workspace-slug/update`, allowing it to be executed as part of a database query without restrictions. This flaw enables users with a manager role to craft a request that includes nested write operations, effectively allowing them to create new Administrator accounts.

Weakness: CWE-20

Which versions are affected by CVE-2024-4287?

It affects 1 product.

Products include Mintplexlabs Anythingllm.

How do I fix CVE-2024-4287?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-4287 being exploited?

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

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-953g-4rmq-23v8.

Is CVE-2024-4287 in your software?

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

Check your SBOMs for free