id: exposed-kafdrop

info:
  name: Publicly exposed Kafdrop Interface
  author: dhiyaneshDk
  severity: low
  description: Publicly Kafdrop Interface is exposed.
  metadata:
    max-request: 1
  tags: exposure,misconfig,kafdrop,vuln

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

    matchers:
      - type: word
        words:
          - "<title>Kafdrop: Broker List</title>"
          - "Kafka Cluster Overview"
        condition: and
# digest: 4a0a00473045022100c6791fec8cc7cb1bac3f840a51e9ddce608c7e5701c8c397f10b195b0a906f43022001d46106181141d480f6837221cd62adb658afc38b654b02d3cad8393ae2a6b2:922c64590222798bb761d5b6d8e72950