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:
    verified: true
    max-request: 1
    vendor: linkerd
    product: linkerd
    shodan-query:
      - html:"data-controller-namespace"
      - http.html:"data-controller-namespace"
    fofa-query: body="data-controller-namespace"
  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: 4a0a0047304502203260050441ba433e17fab49353dcdbd136bf1170662168592fdaa13092917b620221009a1dcd9d6f9bcb076d4b09ad0281d41fc8b39b342fa0bc5726692c56ae042398:922c64590222798bb761d5b6d8e72950