This commit is contained in:
taqin
2026-04-19 21:10:40 +07:00
parent 5fdd214fdc
commit 27381d4e37
211 changed files with 53571 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
id: xpl-wp-debug
info:
name: "WordPress debug.log Exposure"
author: imtaqin
severity: medium
tags:
- wordpress
- exposure
- debug
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/debug.log"
- "{{BaseURL}}/wp-content/uploads/debug.log"
matchers-condition: and
matchers:
- type: status
status: [200]
# PHP log entries have specific format: [date time UTC] line
- type: regex
part: body
regex:
- "^\\[\\d{2}-\\w{3}-\\d{4}"
- type: word
part: body
words:
- "PHP Notice"
- "PHP Warning"
- "PHP Fatal error"
- "WordPress database error"
condition: or
- type: regex
part: header
regex:
- "(?i)content-type:\\s*text/html"
negative: true