id: webalizer-statistics

info:
  name: Webalizer Statistics Information Disclosure
  author: 0x_Akoko
  severity: low
  description: |
    The remote host is running the Webalizer Report generator. Webalizer parses web logs and gives a potential attacker information regarding hosts that have accessed the server, resources accessed, total statistics for the Web server, version of Web server, and more.
  remediation: Use ACLs to protect the Webalizer report.
  reference:
    - https://www.rapid7.com/db/vulnerabilities/spider-webalizer-stats-disclosure
    - https://www.tenable.com/plugins/nnm/2506
  metadata:
    verified: true
    max-request: 2
    shodan-query: html:"Generated by The Webalizer"
  tags: webalizer,logs,statistics,tenable,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/stats/index.html'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Generated by The Webalizer'
          - 'Usage Statistics'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402202e9612f85221bd64f67cbe86eda78eb9ed17878a43b4da5b6ac23d4f16bf3e0802202c077ae7e5821139d0a5ee88dd0f34b5f8f27ba5b714707e7de0d4381fc2d203:922c64590222798bb761d5b6d8e72950