id: wp-worker-fpd

info:
  name: WordPress ManageWP Worker - Full Path Disclosure
  author: DhiyaneshDk
  severity: low
  description: |
    WordPress ManageWP Worker plugin files are publicly accessible without ABSPATH protection, exposing sensitive server path information through PHP error messages when accessed directly.
  reference:
    - https://wordpress.org/plugins/worker/
  metadata:
    max-request: 1
    verified: true
    shodan-query: html:"/plugins/worker/"
  tags: debug,wordpress,fpd,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/worker/src/MMB/User.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "/plugins/worker/")'
          - 'contains_all(body, "Fatal error", "Uncaught Error:")'
        condition: and
# digest: 4a0a00473045022100dcc13851edb0702d51d840d1ae0f4bfd1f9353b0f10800cf9a98a70279ccb0cb02201800a65cbef9485c65ac13d519534405d4e2cb62159ee0a94f9ba49251db5f2f:922c64590222798bb761d5b6d8e72950