id: versa-director-login

info:
  name: Versa Director Login Panel - Detect
  author: c-sh0,darses
  severity: info
  description: Versa Director login panel was detected.
  reference:
    - https://versa-networks.com/products/components/
  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:versa-networks:versa_director:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query:
      - http.title:"Versa Director"
      - "Set-Cookie: VD-CSRF-TOKEN"
    fofa-query:
      - title="Versa Director"
      - "Set-Cookie: VD-CSRF-TOKEN"
    product: versa_director
    vendor: versa-networks
  tags: panel,versa,director,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/versa/login"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "versa-login-logo"
          - "VERSA DIRECTOR"
        condition: or

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c99ab3122a63e70ee20c75c383519e30e7047d31e5e27760b8a864561a5e7578022100bfeddb7202a3a63dfc48ee7452b8a94709e7386ad6ce095c4f3b0004d191eb4d:922c64590222798bb761d5b6d8e72950