id: wp-popup-maker-fpd

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/popup-maker/classes/Activator.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Fatal error", "undefined function", "popup-maker")'
        condition: and
# digest: 4a0a0047304502203cb5dfaa7183c3635ee4c277580f22794397f2c99bc4d5ac43beb6d0b6ef51270221008acdf66a1fd6b8e300d1dc8ae7bbb14377537bd77cd69c6458278f09e02afd27:922c64590222798bb761d5b6d8e72950