id: homematic-panel

info:
  name: Homematic Panel - Detect
  author: princechaddha
  severity: info
  description: Homematic panel was deetcted.
  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:o:eq-3:homematic_ccu3_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: homematic_ccu3_firmware
    shodan-query: http.html:"Homematic"
    vendor: eq-3
  tags: panel,homematic,iot,eq-3

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "HomeMatic Logo"
          - "<title>HomeMatic WebUI</title>"
        condition: or

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