Vulnerability in Mintplex-Labs Mintplex-Labs/anything-Llm
CVE-2024-5211
A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.
EPSS: 0.010 (60.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Mintplex-labs Mintplex-labs/anything-llm — versions unspecified
- Mintplexlabs Anythingllm
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2024-5211?
- CVE-2024-5211 is a high-severity vulnerability in Mintplex-Labs Mintplex-Labs/anything-Llm, classified under CWE-29. CVSS score: 7.2/10. Published 2024-06-12.
- How severe is CVE-2024-5211?
- High severity. CVSS v3 base score is 7.2 out of 10.