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

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: 4b0a00483046022100a3ecfac2bc91b6bca419f4a26f6cb3b69b60f3327d85477095e968565752d437022100fc661dd8d82377d844d66304a1d9c77a02c9260f2c859ef1c2684f6faf587bba:922c64590222798bb761d5b6d8e72950