CVE-2024-0798
Privilege Escalation in mintplex-labs/anything-llm
- State
- Published
- Severity
- 8.1 High
- Published
- Feb 25, 2024
- Updated
- Aug 27, 2024
- Reserved
- Jan 22, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 8.1 High | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | @huntr_ai |
Weaknesses
- CWE-272 Least Privilege Violation
Affected Products
| Product | Versions |
|---|---|
mintplex-labs/anything-llmmintplex-labs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.