nuclei-templates/vulnerabilities/wordpress/wordpress-debug-log.yaml

27 lines
566 B
YAML

id: wp-debug-log
info:
name: WordPress debug log
author: geraldino2 & @dwisiswant0
severity: low
tags: wordpress,logs
requests:
- method: GET
path:
- "{{BaseURL}}/wp-content/debug.log"
matchers-condition: and
matchers:
- type: word
words:
- octet-stream
- text/plain
part: header
condition: or
- type: regex
regex:
- "[[0-9]{2}-[a-zA-Z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [A-Z]{3}] PHP"
part: body
- type: status
status:
- 200