Files
nuclei-templates/http/misconfiguration/thinkphp-errors.yaml
2025-05-27 02:29:19 +00:00

62 lines
1.5 KiB
YAML

id: thinkphp-errors
info:
name: ThinkPHP Errors - Sensitive Information Exposure
author: j4vaovo
severity: medium
description: ThinkPHP error is leaking sensitive info.
classification:
cpe: cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: thinkphp
product: thinkphp
fofa-query:
- app="thinkphp" && title="system error"
- app="thinkphp"
- header="think_lang"
- title="thinkphp"
shodan-query:
- cpe:"cpe:2.3:a:thinkphp:thinkphp"
- http.title:"thinkphp"
google-query: intitle:"thinkphp"
zoomeye-query: app="thinkphp"
tags: thinkphp,misconfig,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "_DATABASE</td>"
- "_USERNAME</td>"
- "_PASSWORD</td>"
condition: and
- type: word
part: body
words:
- "<title>系统发生错误</title>"
- "<title>System Error</title>"
condition: or
- type: word
part: body
words:
- "Exception"
- "REQUEST_TIME"
condition: and
- type: status
status:
- 200
- 500
- 404
condition: or
# digest: 4b0a00483046022100f4ac7536c8eca2843d9a080c3c0771f128abbab942216223578fbfa25bd2165d02210084c6a4a37dc6d3624f610ff3ca33bf33463395e9aca24d8b0ce097dee5965521:922c64590222798bb761d5b6d8e72950