Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mintplexlabs | Anythingllm | - |
Related Weaknesses (CWE)
References
- https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441dbPatch
- https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363cExploit
- https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441dbPatch
- https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363cExploit
FAQ
What is CVE-2024-0798?
CVE-2024-0798 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 'd...
How severe is CVE-2024-0798?
CVE-2024-0798 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-0798?
Check the references section above for vendor advisories and patch information. Affected products include: Mintplexlabs Anythingllm.