id: unifi-panel

info:
  name: UniFi Network Login Panel - Detect
  author: TechbrunchFR
  severity: info
  description: UniFi Network 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:ui:unifi_network_application:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.title:"UniFi Network"
    product: unifi_network_application
    vendor: ui
  tags: unifi,ubnt,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>UniFi Network</title>"

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