漏洞描述
Detected WordPress Pretty Link plugin debug log file, potentially revealing file paths, errors, and sensitive information.
id: wp-pretty-link-log-disclosure
info:
name: WordPress Pretty Link - Error Log Disclosure
author: 0x_Akoko
severity: low
description: |
Detected WordPress Pretty Link plugin debug log file, potentially revealing file paths, errors, and sensitive information.
reference:
- https://wordpress.org/plugins/pretty-link/
metadata:
verified: true
max-request: 1
tags: wordpress,wp-plugin,exposure,pretty-link,logs
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/pretty-link/error_log"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'regex("\\[\\d{2}-[A-Za-z]{3}-\\d{4} \\d{2}:\\d{2}:\\d{2}", body)'
- 'contains_any(body, "PHP Fatal error:", "PHP Warning:", "PHP Notice:", "PHP Parse error:")'
condition: and
# digest: 4a0a00473045022100a55c983ff53c1f1cf193ffb92aa39e3a4f8015355002e33ba5bba781d1158a0702204cb33482a35dbe8e929930c2953cb3b3c41dc75191680341c29b9ab5d4bc2f1c:922c64590222798bb761d5b6d8e72950