Quick answers
- Is CVE-2023-49785 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-49785 being exploited in the wild.
- How severe is CVE-2023-49785?
- Low severity, with a CVSS score of 3.1, published 5 August 2024.
- Which products and versions are affected?
- nextchat (npm) SEMVER:introduced=0,last_affected=2.11.2.
- Is there a fix for CVE-2023-49785?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2023-49785 attacked?
- It is attacked over the network.
- Am I affected by CVE-2023-49785?
- Check whether you run nextchat (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
NextChat versions 2.11.2 and earlier contain a server-side request forgery (SSRF) and cross-site scripting (XSS) vulnerability in the /api/cors endpoint (CWE-918, CWE-79). The vulnerable endpoint fails to properly validate or restrict HTTP requests, allowing unauthenticated attackers to send arbitrary requests via GET, POST, PUT, and other HTTP methods to internal endpoints or external targets. This enables attackers to read internal HTTP resources, modify data via POST/PUT requests, and use the application as an open proxy to mask their source IP. No authentication or user interaction is required to exploit this vulnerability. As of the advisory publication, no patch has been released; mitigation involves network isolation or not exposing the application to the public internet.
Affected products
- ChatGPT-Next-Web NextChat 2.11.2 and prior
Identifiers
- CVE-2023-49785
- GHSA-qf3q-9f3h-cjp9
Timeline
- 2024-08-05: disclosed: Advisory published by GitHub Security Advisory Database
- 2024-03-12: other: CVE-2023-49785 published on NVD