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,discovery

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: 4a0a0047304502202798dff481d6db142e4a49b39f24c265c796e4c57173b6113e68e801add982ba02210091339179e2cfbf330534074eb83c16bd611049e2346154bb14c341230625deaa:922c64590222798bb761d5b6d8e72950