id: unauth-hawkeye-dashboard

info:
  name: Unauth Hawkeye Dashboard - Detect
  author: DhiyaneshDk
  severity: high
  description: |
    Hawkeye Dashboard was detected and appeared to be accessible without authentication.
  classification:
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
  tags: hawkeye,misconfig,unauth,dashboard,vuln

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

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "<title>Data Collector</title>")'
          - 'status_code == 200'
        condition: and
# digest: 490a00463044022076154ad6f51432472d2c15647f241f8a76c27d7f3e7257b0a9c258707613692902207ed9190c0beb98b549fb9237ddb9535b0a959da9bb1dada032456d4ae43c252d:922c64590222798bb761d5b6d8e72950