id: ovpn-config-exposed

info:
  name: OVPN Configuration Download Page - Detect
  author: tess
  severity: low
  description: OVPS configuration download page was detected.
  classification:
    cwe-id: CWE-200
    cpe: cpe:2.3:a:openvpn:connect:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"OVPN Config Download"
    product: connect
    vendor: openvpn
  tags: config,ovpn,exposure,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'OVPN Config Download'
          - 'Config List'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100aee525751e9a5036843ae95c9e3ce2d058d8f5dcc9b409ec39176164c011d3a8022100d2521299546a23880898d89d63b2aa21262fe5511cbc0c068f9184b650ab1df2:922c64590222798bb761d5b6d8e72950