Files
nuclei-templates/http/misconfiguration/thinkphp-errors.yaml
Prince Chaddha ea7a5969c8 Revert "chore: update TemplateMan 🤖"
This reverts commit c31d574176.
2025-05-27 10:39:47 +08:00

53 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: 4b0a00483046022100f4ac7536c8eca2843d9a080c3c0771f128abbab942216223578fbfa25bd2165d02210084c6a4a37dc6d3624f610ff3ca33bf33463395e9aca24d8b0ce097dee5965521:922c64590222798bb761d5b6d8e72950