CVE-2024-38514 NextChat Server-Side Request Forgery (SSRF)
Attackers can exploit SSRF in NextChat to perform arbitrary requests or execute JavaScript in users' browsers via the WebDav API.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-38514?
CVE-2024-38514 is a high-severity server-side request forgery vulnerability in ChatGPTNextWeb ChatGPT-Next-Web, published on 28 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
NextChat is a cross-platform ChatGPT/Gemini UI. There is a Server-Side Request Forgery (SSRF) vulnerability due to a lack of validation of the `endpoint` GET parameter on the WebDav API endpoint. This SSRF can be used to perform arbitrary HTTPS request from the vulnerable instance (MKCOL, PUT and GET methods supported), or to target NextChat users and make them execute arbitrary JavaScript code in their browser. This vulnerability has been patched in version 2.12.4.
Weakness: CWE-918
Which versions are affected by CVE-2024-38514?
How do I fix CVE-2024-38514?
No fix has been published for CVE-2024-38514 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-38514 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38514 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-gph5-rx77-3pjg.