Vulnerability Description
mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mintplexlabs | Anythingllm | < 1.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981Patch
- https://huntr.com/bounties/41016b86-eabb-4161-ac81-40a1ca8e82acExploitThird Party Advisory
- https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981Patch
- https://huntr.com/bounties/41016b86-eabb-4161-ac81-40a1ca8e82acExploitThird Party Advisory
FAQ
What is CVE-2024-3028?
CVE-2024-3028 is a vulnerability with a CVSS score of 7.2 (HIGH). mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system...
How severe is CVE-2024-3028?
CVE-2024-3028 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-3028?
Check the references section above for vendor advisories and patch information. Affected products include: Mintplexlabs Anythingllm.