id: wordpress-directory-listing

info:
  name: Wordpress directory listing
  author: Manas_Harsh
  severity: info
  description: Directory listing enabled in wordpress.
  metadata:
    max-request: 4
  tags: wordpress

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/"
      - "{{BaseURL}}/wp-content/themes/"
      - "{{BaseURL}}/wp-content/plugins/"
      - "{{BaseURL}}/wp-includes/"

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

      - type: word
        words:
          - "Index of /"
# digest: 4b0a00483046022100c34cc0503c1b876f71aa6bbc5cf43871d74dc65394d81efaa6efe7998f080461022100e5c4777fee3c4554dfcff506980b3a549094d15b4659ef8c2ce3993395af550b:922c64590222798bb761d5b6d8e72950