id: kubeflow-dashboard-unauth

info:
  name: Kubeflow Unauth
  author: dhiyaneshDk
  severity: high
  description: Kubeflow internal data is exposed.
  reference:
    - https://github.com/kubeflow/kubeflow
  metadata:
    max-request: 1
  tags: kubeflow,unauth,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/pipeline/apis/v1beta1/runs?page_size=5&sort_by=created_at%20desc'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '{"runs":[{"id":'
          - 'resource_references'
        condition: and
        part: body

      - type: word
        words:
          - "application/json"
        part: header

      - type: status
        status:
          - 200
# digest: 490a0046304402204acd47be467840b7381161d23c059940a5e3fa762863360094e23cd2cb67ff480220419c6fd7afd2459f0e795d36777b49bcacb1c521bb0da183c34f1aec330eb8b4:922c64590222798bb761d5b6d8e72950