id: wordpress-popup-listing

info:
  name: WordPress Popup Plugin Directory Listing
  author: aashiq
  severity: info
  description: Searches for sensitive directories present in the wordpress-popup plugin.
  metadata:
    max-request: 1
  tags: wordpress,listing,plugin,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wordpress-popup/views/admin/"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "Index of"
          - "/wp-content/plugins/wordpress-popup/views/admin"
        condition: and
# digest: 4a0a004730450220255ef3456a51d37ae71188fd5eded890fe5f0a0519fe6334f9e2423b5625a1e9022100f0413088e4706fecb1b2fa923dcc4dc6015260a2ae875038208e66ff9fac1fbe:922c64590222798bb761d5b6d8e72950