CVE-2024-38514
NextChat Server-Side Request Forgery (SSRF)
Record summary
CVE-2024-38514 has a selected CVSS score of 7.4 (high); EIP currently links 1 Nuclei template.
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.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Feb 25, 2025 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Jul 2, 2024 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
ChatGPT-Next-WebBrowse ChatGPTNextWeb / ChatGPT-Next-Web | CVE List | < 2.12.4 | affected |
NextChatBrowse NextChat / NextChat | VulnCheck | Version data not supplied | |
nextchatBrowse chatgptnextweb / nextchatDefault status: unknown | CVE List | Before 2.12.4 | affected |
Nuclei templates
1ProjectDiscoveryHIGHNextChat - Server-Side Request ForgeryCVSS 7.4
NextChat v2.12.3 suffers from a Server-Side Request Forgery (SSRF) and Cross-Site Scripting vulnerability due to a lack of validation of the GET parameter on the WebDav API endpoint.
Impact
Unauthenticated attackers can perform SSRF attacks to access internal services, scan internal networks, or exfiltrate sensitive information from systems that should not be accessible externally.
Remediation
Upgrade to NextChat version 2.12.4 or later that includes proper validation of the endpoint parameter.
Source: ProjectDiscovery