mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-12 21:53:39 +08:00
29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
id: wp-cf7-data-source-fpd
|
|
|
|
info:
|
|
name: WordPress Data Source for Contact Form 7 - Full Path Disclosure
|
|
author: DhiyaneshDk
|
|
severity: low
|
|
description: |
|
|
WordPress Plugin CData Source for Contact Form 7 files are publicly accessible without ABSPATH protection, exposing sensitive server path information through PHP error messages when accessed directly.
|
|
reference:
|
|
- https://wordpress.org/plugins/cf7-data-source/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
publicwww-query: "/plugins/cf7-data-source"
|
|
tags: wp,wordpress,wp-plugin,fpd,call-now-button,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/cf7-data-source/cf7-datasource.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, "cf7-data-source")'
|
|
condition: and
|
|
# digest: 4a0a00473045022016e6f2f09f8d8c6dc4b4333ab63dde29befa8a0ddb31a28fd13d8a8278063c57022100f05aba1d45489caa43fdc9ee99a2e54a29d539a0b7ccde373a4a8ee31ea9fbfa:922c64590222798bb761d5b6d8e72950 |