id: vmware-horizon-panel

info:
  name: VMware Horizon Login Panel - Detect
  author: dhiyaneshDK,pdteam
  severity: info
  description: VMware Horizon login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/6496
  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:vmware:horizon:*:*:*:*:macos:*:*:*
  metadata:
    max-request: 2
    vendor: vmware
    product: horizon
  tags: horizon,vmware,edb,panel,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - '{{BaseURL}}/portal/webclient/index.html'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2
    matchers:
      - type: regex
        part: body
        regex:
          - '(?m)^Missing route token in request$'
          - 'VMware Horizon'
        condition: or
# digest: 4a0a004730450221008caa6cca523762309994eec13a36299e8d826bade71f4b69c5585c14300754a50220321869a50f57bffb750a65b1ad171fdb30815f79d309382df44a6a7061e61a8e:922c64590222798bb761d5b6d8e72950