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

41 lines
1.1 KiB
YAML
Raw Normal View History

2020-08-30 12:41:22 -03:00
id: wp-debug-log
info:
2023-12-07 23:55:03 +07:00
name: WordPress Debug Log - Exposure
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.
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
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
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
extractors:
- type: dsl
dsl:
- to_string(content_length)+ " bytes"
2025-04-23 09:42:54 +00:00
# digest: 490a00463044022021ec7827a42ff27e8a7fc994497ca6ab5534143f2793d0130d1fe35d739694180220057d84f54cd498c9673af7360fc84d2c49002ebf004042ea662e9f32e11debe0:922c64590222798bb761d5b6d8e72950