id: awstats-config

info:
  name: AWStats Config - Detect
  author: sheikhrishad
  severity: info
  description: AWStats configuration information was detected.
  reference:
    - https://www.awstats.org/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 2
  tags: config,exposure,awstats,vuln

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

    matchers:
      - type: word
        words:
          - "AWSTATS CONFIGURE"
          - "MAIN SETUP SECTION"
        condition: and

      - type: word
        words:
          - "Index of /awstats"
          - "Parent Directory"
        condition: and
# digest: 4a0a00473045022044622fb43e8801b567758bf29570dd4e48b47edbcbc2964806c84658e7366e01022100ba7827efa79e5f69fcbf49622c41c81ea71abeec77d64d1e6740cf30c1f86625:922c64590222798bb761d5b6d8e72950