id: cyberoam-ssl-vpn-panel

info:
  name: Cyberoam SSL VPN Panel - Detect
  author: idealphase
  severity: info
  description: Cyberoam SSL VPN panel was detected.
  reference:
    - https://docs.sophos.com/nsg/Cyberoam/Version%2010.x/10.6.3/Guides/Cyberoam%20SSL%20VPN%20User%20Guide.pdf
  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:h:sophos:cyberoam:*:*:*:*:*:*:*:*
  metadata:
    google-query: intitle:"Cyberoam SSL VPN Portal"
    max-request: 1
    product: cyberoam
    shodan-query: title:"Cyberoam SSL VPN Portal"
    vendor: sophos
  tags: panel,cyberoam,vpn,sophos

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>Cyberoam SSL VPN Portal</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - 'src="\/javascript\/validation\/sslvpnlogin\.js\?version=(.+)" ><\/script>'
# digest: 4a0a004730450220231ddbcaf05bd0329bfb2861daed264872423a67ab82390e7e9af65a07253f57022100cc7ef97bb7152bff2132f77dc1b66995db259d97dc2152a56a839bb04015cb9a:922c64590222798bb761d5b6d8e72950