id: ventrilo-config

info:
  name: Ventrilo Configuration File - Detect
  author: geeknik
  severity: high
  description: |
    Ventrilo configuration file was detected, The file discloses the application's Adminpassword and Password.
  reference:
    - https://www.ventrilo.com/setup.php
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
  tags: ventrilo,config,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/ventrilo_srv.ini"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "[Server]"
          - "Name"
          - "Phonetic"
        condition: and

      - type: word
        part: header
        words:
          - "text/plain"

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