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
|
2025-10-17 14:17:02 +02:00
|
|
|
tags: wp,wordpress,log,exposure,vuln
|
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-10-26 16:17:34 +00:00
|
|
|
# digest: 4a0a00473045022069dce4335e03798de78ad04b77cb88b556f6d97dfefd4c5971e9e32657e2e373022100f882e6d7b607d53f86adc830ae0148f8d5579a772a82401a43621ea8be45a0c2:922c64590222798bb761d5b6d8e72950
|