Skip to main content
← All vulnerabilities
CVE-2024-3135GHSA-JHVF-7C85-3C9GGO-2024-2705

Cross-Site Request Forgery (CSRF) Vulnerability in mudler/localai

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mudler mudler/localai

    Version range not reported

  • github.com/go-skynet/LocalAIGo

    through 2.7.0

  • github.com/go-skynet/LocalAIGo

    All versions

References 1

huntr.com