Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-5616
HistoryJul 06, 2024 - 8:38 a.m.

CVE-2024-5616 CSRF Vulnerability in mudler/LocalAI

2024-07-0608:38:02
CWE-352
@huntr_ai
github.com
2
csrf
mudler/localai
2.15.0
model deletion
html page
insufficient protection

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

AI Score

6.8

Confidence

High

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*"
    ],
    "vendor": "mudler",
    "product": "localai",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.17",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

AI Score

6.8

Confidence

High

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-5616