id: unauth-kafka-config-editor

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

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

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "Config Editor", "Current Config", "Update Config")'
          - 'status_code == 200'
        condition: and
# digest: 490a00463044022029994504b73a28c3d0a7813daf21a1dd7e80b7353d7920d869cb807f9bd5e15702203e6cee5cdc4fce5353f625215a739d9acd49ed36ff377388ae54a22fc6916f5e:922c64590222798bb761d5b6d8e72950