id: avigilon-panel

info:
  name: Avigilon Login Panel - Detect
  author: robotshell
  severity: info
  description: Avigilon login panel was detected.
  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:avigilon:avigilon_control_center:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: avigilon
    product: avigilon_control_center
    shodan-query:
      - http.title:"Login - Avigilon Control Center"
      - http.title:"login - avigilon control center"
    fofa-query: title="login - avigilon control center"
    google-query: intitle:"login - avigilon control center"
  tags: panel,avigilon,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/cfg/login'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Login - Avigilon Control Center Gateway</title>'
          - '<title>Iniciar sesión - Puerta de enlace de Avigilon Control Center</title>'
        condition: or

      - type: word
        part: header
        words:
          - 'text/html'

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