id: svnserve-config

info:
  name: Svnserve Configuration File - Detect
  author: sheikhrishad
  severity: info
  description: Svnserve configuration file was detected.
  reference: https://linux.die.net/man/8/svnserve
  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
    cpe: cpe:2.3:a:apache:subversion:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    google-query: intext:"configuration of the svnserve daemon"
    product: subversion
    vendor: apache
  tags: config,exposure,svnserve

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "This file controls the configuration of the svnserve daemon"

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