id: solarview-compact-panel

info:
  name: SolarView Compact Panel - Detect
  author: princechaddha
  severity: info
  description: SolarView Compact 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:contec:solarview_compact_firmware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: contec
    product: solarview_compact_firmware
    shodan-query:
      - http.html:"SolarView Compact"
      - http.favicon.hash:"-244067125"
      - http.html:"solarview compact"
      - cpe:"cpe:2.3:o:contec:solarview_compact_firmware"
    fofa-query:
      - body="solarview compact" && title="top"
      - icon_hash="-244067125"
      - body="solarview compact"
  tags: panel,solarview,iot,contec

http:
  - method: GET
    path:
      - "{{BaseURL}}/Solar_Menu.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "SolarViewCompact"

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