id: openvpn-admin

info:
  name: OpenVPN Admin Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: OpenVPN Admin login panel was detected.
  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
    cpe: cpe:2.3:a:openvpn:openvpn:*:*:*:*:*:*:*:*
  metadata:
    max-request: 3
    product: openvpn
    shodan-query: http.title:"OpenVPN-Admin"
    vendor: openvpn
    verified: true
  tags: panel,openvpn,admin,config

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/login'
      - '{{BaseURL}}/index.php'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>OpenVPN-Admin'
          - '<title>OpenVPN Admin'
        condition: or

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