CVE-2024-4287 Improper Input Validation in mintplex-labs/anything-llm
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.
Other vulnerabilities in Mintplexlabs Anythingllm
- CVE-2024-3025 Path Traversal in mintplex-labs/anything-llm
- CVE-2024-0455 SSRF on AWS deployed instances of AnythingLLM via /metadata
- CVE-2026-32626 AnythingLLM has a Streaming Phase XSS to RCE via LLM Response Injection
- CVE-2024-3104 Remote Code Execution in mintplex-labs/anything-llm
- CVE-2024-3149 SSRF in mintplex-labs/anything-llm
Sources
Also known as GHSA-953g-4rmq-23v8.