id: linkerd-panel

info:
  name: Linkerd Panel - Detect
  author: tess
  severity: info
  description: |
    Linkerd panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:linkerd:linkerd:*:*:*:*:kubernetes:*:*:*
  metadata:
    max-request: 1
    product: linkerd
    shodan-query: html:"data-controller-namespace"
    vendor: linkerd
    verified: true
  tags: panel,misconfig,linkerd,exposure

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Linkerd</title>'
          - 'data-controller-namespace="linkerd'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502202775079ff4cc7cf7e8d5d2204409a06f95c9bad1cb7c98d67aa17071e4d303080221008585b7c7c826bf7baf3c2761c3f682fa5af31411f645f3b68dab6f18ef3130f6:922c64590222798bb761d5b6d8e72950