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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-07-06T17:48:46.735Z
Updated: 2024-08-01T21:33:03.282Z
Reserved: 2024-06-17T18:56:07.507Z
Link: CVE-2024-6095
Vulnrichment
Updated: 2024-08-01T21:33:03.282Z
NVD
Status : Modified
Published: 2024-07-06T18:15:02.277
Modified: 2024-11-21T09:48:57.030
Link: CVE-2024-6095
Redhat
No data.