CVE-2024-0798 Privilege Escalation in mintplex-labs/anything-llm
MediumCVSS 6.5
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
A privilege escalation vulnerability exists in mintplex-labs/anything-llm, allowing users with 'default' role to delete documents uploaded by 'admin'. Despite the intended restriction that prevents 'default' role users from deleting admin-uploaded documents, an attacker can exploit this vulnerability by sending a crafted DELETE request to the /api/system/remove-document endpoint. This vulnerability is due to improper access control checks, enabling unauthorized document deletion and potentially leading to loss of data integrity.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mintplexlabs anythingllm | < 1.0.0; All versions | 1.0.0 | Partially fixed |
| mintplex-labs/anything-llm | < 1.0.0 | 1.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mintplex-labs/anything-llm | < 1.0.0 | 1.0.0 |
| mintplexlabs anythingllm | < 1.0.0 | 1.0.0 |
| mintplexlabs anythingllm | All versions | No fix listed |
References
- huntr.com exploit
- github.com patch