漏洞描述
WordPress Plugin Menu Image plugin files are publicly accessible without ABSPATH protection, exposing sensitive server path information through PHP error messages when accessed directly.
id: wordpress-menu-image-fpd
info:
name: WordPress Menu Image - Full Path Disclosure
author: DhiyaneshDk
severity: low
description: |
WordPress Plugin Menu Image plugin files are publicly accessible without ABSPATH protection, exposing sensitive server path information through PHP error messages when accessed directly.
reference:
- https://wordpress.org/plugins/menu-image/
metadata:
verified: true
max-request: 1
publicwww-query: "/plugins/menu-image"
tags: wp,wordpress,wp-plugin,fpd,menu-image,misconfig
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/menu-image/freemius/templates/checkout.php"
matchers:
- type: dsl
dsl:
- 'status_code == 200 || status_code == 500'
- 'contains(body, "menu-image")'
- 'contains_all(body, "Fatal error", "Uncaught Error") || contains_all(body, "Warning:","failed to open stream")'
condition: and
# digest: 4b0a00483046022100fe444f0157999b41d0987eb1ee0d8a7479b24add5719a042111ec722e28e421c022100fadb3d77d5785af2548c2e6ec45678ae8a8c11bc08e84d53165b0d89887e21a2:922c64590222798bb761d5b6d8e72950