High severity · published Jun 6, 2024
CVE-2024-5186
Server Side Request Forgery (SSRF) in imartinez/privategpt
7.2
CVSS
0.3%
EPSS
No
On KEV
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in the file upload section of imartinez/privategpt version 0.5.0. This vulnerability allows attackers to send crafted requests that could result in unauthorized access to the local network and potentially sensitive information. Specifically, by manipulating the 'path' parameter in a file upload request, an attacker can cause the application to make arbitrary requests to internal services, including the AWS metadata endpoint. This issue could lead to the exposure of internal servers and sensitive data.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
imartinez/privategpt · imartinez
through latest · source: vendor
PR
Privategpt · Pribai
0.5.0 · source: NVD
IP
Imartinez Privategpt · Imartinez
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-5186
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-5186
Exploit
https://huntr.com/bounties/5f421645-3546-4a67-a421-ee1bc4b6e3a3
More from imartinez/privategpt
9.8
CVE-2024-4343
Python Command Injection in imartinez/privategpt
7.5
CVE-2024-12063
Denial of Service in imartinez/privategpt
7.5
CVE-2024-8018
Denial of Service (DOS) in imartinez/privategpt
7.5
CVE-2024-3403
Local File Inclusion in imartinez/privategpt
6.1
CVE-2024-8029
Stored XSS in imartinez/privategpt
