NextChat — Ssrf (CVE-2024-38514)
Date: 2024-06
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-38514
CWE: CWE-918
CVSS: 7.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):