Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-5753
HistoryJul 05, 2024 - 7:27 p.m.

CVE-2024-5753 Local File Read (LFI) by Prompt Injection via Postgres SQL in vanna-ai/vanna

2024-07-0519:27:22
CWE-200
@huntr_ai
github.com
6
sql injection
remote access
python flask api

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

7.6

Confidence

Low

SSVC

Exploitation

poc

Automatable

yes

Technical Impact

partial

vanna-ai/vanna version v0.3.4 is vulnerable to SQL injection in some file-critical functions such as pg_read_file(). This vulnerability allows unauthenticated remote users to read arbitrary local files on the victim server, including sensitive files like /etc/passwd, by exploiting the exposed SQL queries via a Python Flask API.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:vanna-ai:vanna:0.3.4:*:*:*:*:*:*:*"
    ],
    "vendor": "vanna-ai",
    "product": "vanna",
    "versions": [
      {
        "status": "affected",
        "version": "0.3.4"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

7.6

Confidence

Low

SSVC

Exploitation

poc

Automatable

yes

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-5753