id: openvpn-monitor

info:
  name: OpenVPN Monitor - Detect
  author: geeknik
  severity: info
  description: openvpn-monitor was discovered. OpenVPN Monitor is a simple python program to generate html that displays the status of an OpenVPN server, including all its current connections.
  reference:
    - https://openvpn-monitor.openbytes.ie/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 2
  tags: openvpn,disclosure,panel,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/openvpn-monitor/'

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

      - type: word
        part: body
        words:
          - 'OpenVPN Status Monitor'
          - 'Username'
          - 'VPN IP'
          - 'Remote IP'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"
# digest: 4a0a0047304502204fb2d36177be79e0715f0e1e39a5b3408e3bb9cd7c9493832d05fca463aa41cf022100c6534274e44f483c8d80b6d459828c38cee87f8106a3a886602b470f6f26ce6f:922c64590222798bb761d5b6d8e72950