CVE-2024-3135
Last modified
CVE-2024-3135 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when visited by a victim, perform unauthorized actions on the victim's local LocalAI instance without their consent. This vulnerability enables attackers to exhaust system resources, consume credits, and fill disk space by making numerous resource-intensive API calls, such as generating images or uploading files. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when visited by a victim, perform unauthorized actions on the victim's local LocalAI instance without their consent. This vulnerability enables attackers to exhaust system resources, consume credits, and fill disk space by making numerous resource-intensive API calls, such as generating images or uploading files. The vulnerability stems from the application's acceptance of simple request content-types without requiring CSRF tokens or implementing other CSRF mitigation measures. Successful exploitation does not require network access to the vulnerable LocalAI environment.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mudler | Localai | < 2.17.0 |
References
- https://huntr.com/bounties/7afdc4d3-4b68-45ea-96d0-cf9ed3712ae8Exploit, Third Party Advisory
- https://huntr.com/bounties/7afdc4d3-4b68-45ea-96d0-cf9ed3712ae8Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-3135?
How severe is CVE-2024-3135?
How do I fix CVE-2024-3135?
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-31344Improper Neutralization of Input During Web Page Generation …5.9
- CVE-2024-31345Unrestricted Upload of File with Dangerous Type vulnerabilit…9.1
- CVE-2024-31346Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-31347Missing Authorization vulnerability in Data443 Tracking Code…4.3
- CVE-2024-31348Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-31349Improper Neutralization of Input During Web Page Generation …5.4
- CVE-2024-31350Missing Authorization vulnerability in AWP Classifieds Team …8.8
- CVE-2024-31351Unrestricted Upload of File with Dangerous Type vulnerabilit…9.8
- CVE-2024-31352Missing Authorization vulnerability in Email Subscribers & N…9.8
- CVE-2024-31353Insertion of Sensitive Information into Log File vulnerabili…5.3
- CVE-2024-31354Cross-Site Request Forgery (CSRF) vulnerability in Tribulant…4.3
- CVE-2024-31355Improper Neutralization of Special Elements used in an SQL C…8.5
Are you affected by CVE-2024-3135?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
