53 lines
1.3 KiB
YAML
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: 490a004630440220157c691a9f801b6d7f6d41e34928ea78ab332f3f175f51993a4fb9508930665b0220525f3863f33d6bf95f856a306080eaba91fd763b945095ba9fa7346e3253aeb5:922c64590222798bb761d5b6d8e72950 |