Products
mudler/LocalAI
- up to and including 2.15.0
Source
security@huntr.dev
Tags
CVE-2024-5616 details
Published : July 6, 2024, 9:15 a.m.
Last Modified : July 6, 2024, 9:15 a.m.
Last Modified : July 6, 2024, 9:15 a.m.
Description
A Cross-Site Request Forgery (CSRF) vulnerability exists in mudler/LocalAI versions up to and including 2.15.0, which allows attackers to trick victims into deleting installed models. By crafting a malicious HTML page, an attacker can cause the deletion of a model, such as 'gpt-4-vision-preview', without the victim's consent. The vulnerability is due to insufficient CSRF protection mechanisms on the model deletion functionality.
CVSS Score
1 | 2 | 3 | 4.3 | 5 | 6 | 7 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-352 | Cross-Site Request Forgery (CSRF) | The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
LOW
Base Score
4.3
Exploitability Score
2.8
Impact Score
1.4
Base Severity
MEDIUM
Vector String : CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
URL | Source |
---|---|
https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b | security@huntr.dev |
https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af | security@huntr.dev |
This website uses the NVD API, but is not approved or certified by it.