Vulnerability Description
A vulnerability in mintplex-labs/anything-llm prior to version 1.3.1 allows for path traversal due to improper handling of non-ASCII filenames in the multer library. This vulnerability can lead to arbitrary file write, which can subsequently result in remote code execution. The issue arises when the filename transformation introduces '../' sequences, which are not sanitized by multer, allowing attackers with manager or admin roles to write files to arbitrary locations on the server.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mintplexlabs | Anythingllm | < 1.3.1 |
Related Weaknesses (CWE)
References
- https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85Patch
- https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1ExploitThird Party Advisory
- https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1ExploitThird Party Advisory
FAQ
What is CVE-2024-13059?
CVE-2024-13059 is a vulnerability with a CVSS score of 7.2 (HIGH). A vulnerability in mintplex-labs/anything-llm prior to version 1.3.1 allows for path traversal due to improper handling of non-ASCII filenames in the multer library. This vulnerability can lead to arb...
How severe is CVE-2024-13059?
CVE-2024-13059 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-13059?
Check the references section above for vendor advisories and patch information. Affected products include: Mintplexlabs Anythingllm.