id: awstats-listing

info:
  name: AWStats Listing
  author: tess
  severity: low
  description: Searches for exposed awstats Internal Information.
  metadata:
    max-request: 1
  tags: misconfig,aws,exposure,amazon,awstats,oss

http:
  - method: GET
    path:
      - "{{BaseURL}}/awstats/data"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Index of /awstats/data/'
          - '">awstats'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100d769bf26f58f907b42e66321fa0df3ca5ed31b3ab4187347b2369c088e6738c5022100a1e46af2b6bd5cde3509ab643c751d7c674cfdf80d7d00ad86156d4710a1915c:922c64590222798bb761d5b6d8e72950