Vulnerability · Published Jun 6, 2024 · Assigned by @huntr_ai
CVE-2024-5186Server Side Request Forgery (SSRF) in imartinez/privategpt
High 8.3
In plain English
A high-severity server-side request forgery in imartinez/privategpt from imartinez. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| imartinez | imartinez/privategpt | unspecified – through latest |
Weakness: CWE-918 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L