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.
  metadata:
    verified: true
    max-request: 1
    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: 4b0a004830460221008dfb02ec7c1faf58b00a8819d714025454cc3c672237f9cf902fc3d0b453b193022100cf719003994e36b6ef2b0736e2ce738b2406e374ec8c5378b6bfc4d4fe18787f:922c64590222798bb761d5b6d8e72950
