漏洞描述
Detected whether the WPS Hide Login plugin’s /classes/ directory was exposed with directory listing enabled due to server misconfiguration, potentially disclosing PHP error logs or source code.
id: wp-wps-hide-login-log
info:
name: WordPress WPS Hide Login - Error Log Disclosure
author: pussycat0x
severity: low
description: |
Detected whether the WPS Hide Login plugin’s /classes/ directory was exposed with directory listing enabled due to server misconfiguration, potentially disclosing PHP error logs or source code.
reference:
- https://wordpress.org/plugins/wps-hide-login/
metadata:
verified: false
max-request: 1
tags: wordpress,wp,wp-plugin,wps-hide-login,log,exposure
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/wps-hide-login/classes/error_log"
matchers:
- type: dsl
dsl:
- 'status_code == 200 || status_code == 500'
- 'contains_any(body, "Uncaught Error","Fatal error","Warning") && contains(body, "wp-content/plugins/wps-hide-login")'
condition: and
# digest: 4a0a00473045022054d0c697ae994796ca1d71a8b7d8372054b25017a0d1935b5c94a8ae432b48ba0221008c06557f1820623ba19f24d2d2148cb43910d24b04c6b357a30042276637b125:922c64590222798bb761d5b6d8e72950