id: esphome-dashboard

info:
  name: ESPHome Dashboard Exposure
  author: ritikchaddha
  severity: medium
  description: |
    ESPHome Dashboard exposes the secrets like wifi password,api keys and internal logs, it also allows users to make changes through the dashboard.
  classification:
    cpe: cpe:2.3:a:esphome:esphome:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: esphome
    product: esphome
    shodan-query: title:"Dashboard - ESPHome"
  tags: misconfig,esphome,exposure,iot

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Dashboard - ESPHome'

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