wp-cf7-data-source-fpd: WordPress Data Source for Contact Form 7 - Full Path Disclosure

日期: 2026-01-24 | 影响软件: WordPress Data Source for Contact Form 7 | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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

相关漏洞推荐