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