CVE-2024-5186: imartinez/privategpt - Server Side Request Forgery
- Cve: CVE-2024-5186
- Name: imartinez/privategpt - Server Side Request Forgery
- 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.
- Impact: Attackers can access internal services and sensitive data by exploiting SSRF, leading to potential data exposure and internal network compromise.
- Remediation: Update to the latest version of imartinez/privategpt or apply security patches to validate and sanitize the 'path' parameter.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Epss score: 0.00344
- Epss percentile: 0.2846
- Assignee: [email protected]
- Published at: 2024-06-06T19:16:05Z
- Age in days: 901
- Modified at: 2026-06-17T08:15:22Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5186
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/5f421645-3546-4a67-a421-ee1bc4b6e3a3 | nvd | 2024-06-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/5f421645-3546-4a67-a421-ee1bc4b6e3a3 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pribai:privategpt | = 0.5.0 | no | nvd | /v1/products/pribai/privategpt |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-06-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts