nuclei-templates/http/misconfiguration/thinkphp-errors.yaml

50 lines
1.1 KiB
YAML

id: thinkphp-errors
info:
name: ThinkPHP Errors - Sensitive Information Exposure
author: j4vaovo
severity: medium
metadata:
verified: true
max-request: 1
fofa-query: app="ThinkPHP" && title="System Error"
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: 490a0046304402201ed9eeddb84684c81cad2e9dd5bae4b23de5d31ea95354508dbca365e888a7c302207d05684ef6245fa925fe4d817ba6bddaa3bfbe391f9ea3fac92d0de4f4df3054:922c64590222798bb761d5b6d8e72950