id: plesk-stat

info:
  name: Webalizer Log Analyzer Configuration - Detect
  author: th3.d1p4k
  severity: medium
  description: Webalizer log analyzer configuration was detected.
  reference:
    - https://webalizer.net/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,plesk

http:
  - method: GET
    path:
      - "{{BaseURL}}/plesk-stat/"

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

      - type: word
        words:
          - 'Index of /plesk-stat'
          - 'Parent Directory'
        condition: and

      - type: word
        words:
          - 'anon_ftpstat'
          - 'ftpstat'
          - 'webstat-ssl'
          - 'webstat'
        condition: or
# digest: 4a0a00473045022100e97d17f38a3233f22bcf16522d6a426d1ea116e21596ede98d1888515474aafc02202903616062b12eb60bfb90f72a0baaf42bc9e323d4f8c4d59204033e927b12ba:922c64590222798bb761d5b6d8e72950