CVE-2024-5211
Last modified
CVE-2024-5211 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 1.05% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mintplexlabs | Anythingllm | < 1.0.0 |
References
- https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4bExploit, Third Party Advisory
- https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4bExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-5211?
How severe is CVE-2024-5211?
How do I fix CVE-2024-5211?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-52066Buffer Copy without Checking Size of Input ('Classic Buffer …7.8
- CVE-2024-52067Apache NiFi 1.16.0 through 1.28.0 and 2.0.0-M1 through 2.0.0…4.9
- CVE-2024-5207The POST SMTP – The #1 WordPress SMTP Plugin with Advanced E…7.2
- CVE-2024-5208An uncontrolled resource consumption vulnerability exists in…6.5
- CVE-2024-5209A denial-of-service vulnerability was reported in some Lenov…6.5
- CVE-2024-5210A denial-of-service vulnerability was reported in some Lenov…6.5
- CVE-2024-5212The tagDiv Composer plugin for WordPress is vulnerable to Re…6.1
- CVE-2024-5213In mintplex-labs/anything-llm versions up to and including 1…6.5
- CVE-2024-5214Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-5215The HT Mega – Absolute Addons For Elementor plugin for WordP…5.4
- CVE-2024-5216A vulnerability in mintplex-labs/anything-llm allows for a D…7.5
- CVE-2024-5217ServiceNow has addressed an input validation vulnerability t…9.8
Are you affected by CVE-2024-5211?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
