Create thinkphp-errors.yaml

patch-1
j4vaovo 2023-04-18 16:06:55 +08:00 committed by GitHub
parent 6cd76fbeb8
commit 8fd63929b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,52 @@
id: thinkphp-errors
info:
name: ThinkPHP - Errors
author: j4vaovo
severity: medium
metadata:
verified: "true"
fofa-query: app="ThinkPHP" && title="System Error"
tags: thinkphp,misconfiguration
requests:
- method: GET
path:
- "{{BaseURL}}/"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "DATABASE_PASSWORD</td>"
- "REDIS_PASSWORD</td>"
- "ROCKETMQ_SECRET_KEY</td>"
- "WECHAT_SECRET_KEY</td>"
- "JWT_KEY</td>"
- "JWT_SECRET</td>"
- "API_KEY</td>"
- "ACCESS_KEY</td>"
- "ACCESS_KEY_SECRET</td>"
condition: or
- 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