id: h2o-dashboard

info:
  name: H2O Dashboard - Exposure
  author: byt3bl33d3r
  severity: high
  description: |
    H2o dashboard by default has no authentication and can lead to RCE on the host.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"H2O Flow"
  tags: misconfig,exposure,h2o,ml,unauth

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

    redirects: true
    max-redirects: 2
    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "X-H2o-Build-Project-Version"
          - "X-H2o-Cluster-Id"
        condition: and

      - type: word
        part: body
        words:
          - "H2O Flow"

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