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

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