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,vuln

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: 4a0a0047304502201c84e48ed6818d079bc0afe2d71d0f862520ef84b0f1780951db841bc03081dd022100976d5a340240a9547c097e870d99a54e4e55dabb5ce40f26ffb9f073ea78b8e1:922c64590222798bb761d5b6d8e72950