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

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: 490a0046304402202ad944692efdfcd4de96bc8a649ba024d2460cf6fc43a9d97e31560a1bc853b8022044e719402c16084cdf0afa024ebc78ddcc5f8a75fb9fc198256d6136a7a6216d:922c64590222798bb761d5b6d8e72950