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

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