2025-07-21 19:07:12 +07:00
|
|
|
id: wordpress-debug-log
|
2020-08-30 12:41:22 -03:00
|
|
|
|
|
|
|
|
info:
|
2023-12-07 23:55:03 +07:00
|
|
|
name: WordPress Debug Log - Exposure
|
2025-04-21 15:51:59 +02:00
|
|
|
author: geraldino2,dwisiswant0,philippedelteil,FLX
|
2020-09-20 18:27:43 +05:30
|
|
|
severity: low
|
2024-01-02 21:15:12 +05:30
|
|
|
description: Exposed Wordpress debug log.
|
2023-04-28 13:41:21 +05:30
|
|
|
metadata:
|
2023-12-07 23:55:03 +07:00
|
|
|
max-request: 4
|
|
|
|
|
tags: wp,wordpress,log,exposure
|
2020-08-30 12:41:22 -03:00
|
|
|
|
2023-04-27 09:58:59 +05:30
|
|
|
http:
|
2020-08-30 12:41:22 -03:00
|
|
|
- method: GET
|
|
|
|
|
path:
|
2023-12-07 23:55:03 +07:00
|
|
|
- "{{BaseURL}}/{{paths}}/debug.log"
|
|
|
|
|
|
|
|
|
|
payloads:
|
|
|
|
|
paths:
|
|
|
|
|
- 'wp-content'
|
|
|
|
|
- 'wordpress'
|
|
|
|
|
- 'wp'
|
|
|
|
|
- 'blog'
|
2023-11-29 18:41:38 +05:30
|
|
|
|
2023-11-26 18:37:07 -05:00
|
|
|
stop-at-first-match: true
|
|
|
|
|
host-redirects: true
|
|
|
|
|
max-redirects: 3
|
|
|
|
|
max-size: 5000
|
2020-08-30 21:27:24 +05:30
|
|
|
matchers-condition: and
|
2020-08-30 12:41:22 -03:00
|
|
|
matchers:
|
2025-04-23 11:23:59 +05:30
|
|
|
- type: dsl
|
|
|
|
|
dsl:
|
|
|
|
|
- 'regex("[[0-9]{2}-[a-zA-Z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [A-Z]{3}] PHP", body)'
|
|
|
|
|
- 'contains_any(body, "PHP Warning:", "PHP Notice:", "Undefined array", "Undefined variable")'
|
|
|
|
|
- 'status_code == 200'
|
|
|
|
|
condition: and
|
2023-11-29 18:41:38 +05:30
|
|
|
|
2023-11-26 18:37:07 -05:00
|
|
|
extractors:
|
|
|
|
|
- type: dsl
|
|
|
|
|
dsl:
|
|
|
|
|
- to_string(content_length)+ " bytes"
|
2025-07-22 11:50:08 +00:00
|
|
|
# digest: 4a0a004730450220211310a479c55e55430399b92fa09efcf4f9b7b9102f9453b7d6797b97ca6542022100ec03c73ac2f586d45508fae4e3cbc281c8b8bf77333b74cb13e43cca7438fd95:922c64590222798bb761d5b6d8e72950
|