漏洞描述
WordPress WP-PageNavi plugin files are publicly accessible without ABSPATH protection, exposing sensitive server path information through PHP error messages when accessed directly.
id: wp-pagenavi-fpd
info:
name: WordPress WP-PageNavi - Full Path Disclosure
author: DhiyaneshDk
severity: low
description: |
WordPress WP-PageNavi 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/wp-pagenavi/
metadata:
max-request: 1
verified: false
shodan-query: html:"/plugins/wp-pagenavi/"
tags: debug,wp,wp-plugin,wordpress,fpd,vuln,wp-pagenavi
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/wp-pagenavi/admin.php"
- "{{BaseURL}}/wp-content/plugins/wp-pagenavi/wp-pagenavi.php"
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "/plugins/wp-pagenavi/")'
- 'contains_all(body, "Fatal error", "Uncaught Error:")'
condition: and
# digest: 4a0a00473045022100ab1d0e19926f7af1fe0b92e1abf1c45992b4f72aa50a69662413ca93f0623c3b02202ec2ae43efeeb0b1b50c26c5583744603ece80bfb775b6bc120a73ae974cf475:922c64590222798bb761d5b6d8e72950