PRIOn Logo

CVE-2024-3403 Remote code execution

Routine
Remediate Within 6 Months

CVE Information

Original CVE data

Published:
Updated:

imartinez/privategpt version 0.2.0 is vulnerable to a local file inclusion vulnerability that allows attackers to read arbitrary files from the filesystem. By manipulating file upload functionality to ingest arbitrary local files, attackers can exploit the 'Search in Docs' feature or query the AI to retrieve or disclose the contents of any file on the system. This vulnerability could lead to various impacts, including but not limited to remote code execution by obtaining private SSH keys, unauthorized access to private files, source code disclosure facilitating further attacks, and exposure of configuration files.

CWE: CWE-22
CVSS v2-
CVSS v3-
References
https://huntr.com/bounties/7431d1dd-f014-4d4f-acb6-f97369ef3688
Affected Vendors

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Remote code execution

CVSS Scores as calculated by PRIOnengine
CVSS v25
AV:N/AC:L/AU:N/C:P/I:N/A:N
CVSS v36.5
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
MITRE CWE Top 25

Vulnerability weakness type is in the top 25 CWEs according to MITRE. View Mitre Top 25 CWEs

Exploits

No exploit code is reported to exist.

Active Exploitation

Vulnerability is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

-

Threat Actor Activity

No sightings of the vulnerability within threat reports.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1608 - Stage Capabilities
T1587.004 - Develop Capabilities (Exploits)
T1505.003 - Server Software Component (Web Shell)
T1499.004 - Endpoint Denial of Service (Application or System Exploitation)
T1210 - Exploitation of Remote Services
T1203 - Exploitation for Client Execution
T1190 - Exploit Public-Facing Application
T1133 - External Remote Services
T1119 - Automated Collection
T1083 - File and Directory Discovery
T1059 - Command and Scripting Interpreter
T1059 - Command and Scripting Interpreter
T1005 - Data from Local System

Compliance Impact

How the submited vulnerability affects compliance

-

Web Application Security Frameworks

Applicable if the issue likely affects a web application

WASC-8 - Cross Site Scripting