id: iotawatt-app-exposure

info:
  name: IoTaWatt Configuration App Exposure
  author: pussycat0x
  severity: high
  description: An IoTaWatt configuration app was discovered. Unauthenticated access to an IoTaWatt energy monitor could give a malicious attacker the means to upload to any of several third-party energy websites/database.
  reference:
    - https://docs.iotawatt.com/en/master/passConfig.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 8.3
    cwe-id: CWE-522
  metadata:
    max-request: 1
    fofa-query: app="IoTaWatt-Configuration-app"
  tags: iot,exposure,vuln,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<h3>Configure IoTaWatt Device</h3>'
          - '<title>IoTaWatt Configuration app</title>'
        condition: and

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