Files
nuclei-templates/http/misconfiguration/thinkphp-errors.yaml
Parth Malhotra 7d276ebee0 Fix classification
Fix classification
2024-09-10 14:38:16 +05:30

54 lines
1.3 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"
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: 490a00463044022003b009962dedd16ae6b50cf5a4c5880e38788366de0a4365a425d5d5b1141ad60220631fa6eea81343a0d0fce43cf8db4c0e7d87a6dc9b02403426e526a5a04bd5dc:922c64590222798bb761d5b6d8e72950