id: raspberrymatic-panel

info:
  name: RaspberryMatic Login Panel - Detect
  author: princechaddha
  severity: info
  description: RaspberryMatic 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:o:raspberrymatic:raspberrymatic:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.favicon.hash:-578216669
    product: raspberrymatic
    vendor: raspberrymatic
  tags: panel,raspberrymatic,iot

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

    host-redirects: true
    max-redirects: 2

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

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