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,discovery

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: 4a0a00473045022100b6adad5222167474f2a91bc5849cf60f0b48ad64ea097bce1e3f5947a86320070220766ebb183b2fcefc1c3622bf9bde5188b06ec5392cdfb687e57a4ab260ce5766:922c64590222798bb761d5b6d8e72950