Description
A weakness has been identified in ChatGPTNextWeb NextChat up to 2.16.1. This affects the function storeUrl of the file app/api/artifacts/route.ts of the component Artifacts Endpoint. This manipulation of the argument ID causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ChatGPTNextWeb | NextChat | 2.16.0, 2.16.1 | — |
References
- VDB-359780 | ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery vdb-entry technical-description
- VDB-359780 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #797646 | nextchat <= 2.16.1 Server-Side Request Forgery (CWE-918) / Path Traversal (CWE-22) third-party-advisory
- https://github.com/ChatGPTNextWeb/NextChat/issues/6741 issue-tracking
- https://gist.github.com/YLChen-007/43252d45d75e8bdd2d45136fd6ffe8a5 exploit
- https://github.com/ChatGPTNextWeb/NextChat/ product