SSRF in Mudler Localai
CVE-2024-6095
A vulnerability in the /models/apply endpoint of mudler/localai versions 2.15.0 allows for Server-Side Request Forgery (SSRF) and partial Local File Inclusion (LFI). The endpoint supports both http(s):// and file:// schemes, where the latter can lead to LFI. However, the output is limited due to the length of the error message. This vulnerability can be exploited by an attacker with network access to the LocalAI instance, potentially allowing unauthorized access to internal HTTP(s) servers and partial reading of local files. The issue is fixed in version 2.17.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.025, 84.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mudler Localai
- Mudler Mudler/localai — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Abdurahmon3236/-CVE-2024-6095 (last pushed 2024-09-01)
Also mentioned in 5 other repositories (20142995/nuclei-templates, ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/4799262d-72dc-43c8-bc99-81d0dce996dc (Exploit, Third Party Advisory)
- github.com/mudler/localai/commit/2fc6fe806b903ac0a70218b21b5c84443a1b0866 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.