id: unifi-os-panel

info:
  name: UniFi OS - Panel
  author: DhiyaneshDk
  severity: info
  description: |
    UniFi OS Panel was discovered
  reference:
    - https://gbhackers.com/critical-unifi-os-flaw/
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 1
    verified: true
    shodan-query: title:"UniFi OS"
  tags: panel,router,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>UniFi OS</title>"
          - "UNIFI_OS_MANIFEST"
        condition: or

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