id: unauth-akhq-dashboard

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/me"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "\"resources\":", "\"actions\":", "\"patterns\":", "\"clusters\":")'
          - 'status_code == 200'
        condition: and
# digest: 490a00463044022056abab72c798ca89cd7df86996587e61e92668055653d953d1d67c286f1f165302206db945843c976a59e25dfaaae871f70f03a3a8c632ad6dcbe2422ffe371857d8:922c64590222798bb761d5b6d8e72950