id: cisco-webvpn-detect

info:
  name: Cisco WebVPN Panel - Detect
  author: ricardomaia
  severity: info
  description: Cisco WebVPN panel was detected.
  reference:
    - https://askanydifference.com/difference-between-cisco-clientless-ssl-vpn-and-anyconnect-with-table/
  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:
    verified: true
    max-request: 2
    fofa-query: fid="U1TP/SJklrT9VLIEpZkQNg=="
    google-query: intitle:"SSLVPN Service"
  tags: panel,cisco,vpn,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/webvpn.html"

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "CISCO"
          - "AnyConnect"
          - "SSLVPN Service"
        condition: or
        case-insensitive: true

      - type: regex
        part: header
        regex:
          - "webvpncontext=00@.+"
          - "webvpn="
        condition: or
# digest: 4a0a004730450221009fc7d1dfd4c1f6b362b2da1eb25439faa605c7c08168849f5b1fdd962afbf75f022066f9e3e3bb2e39249b51d657060e5c5ecc790c798e92a25067d98c3a0956d2ac:922c64590222798bb761d5b6d8e72950