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:
    fofa-query: fid="U1TP/SJklrT9VLIEpZkQNg=="
    google-query: intitle:"SSLVPN Service"
    max-request: 2
    verified: true
  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: 4a0a0047304502206522258ba2efd88f6be3f7fb415e8a33a4b57f2b9af95a0bf58190935266954d022100f90e5bf561b6406a06ca4ae661b2df6bac2074717c631ae48fa7bb7356083348:922c64590222798bb761d5b6d8e72950