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