id: cadvisor-exposure

info:
  name: cAdvisor - Detect
  author: DhiyaneshDk
  severity: medium
  description: cAdvisor page was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"cAdvisor"
  tags: exposure,misconfig,dashboard

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>cAdvisor - /</title>"

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

      - type: status
        status:
          - 200

# digest: 4a0a004730450220515091c9abd1be7336f36822f19364219b2c464d72bf4e33c169b622053a1836022100a7971db39b70e7f7d07dce36e846523de1fef9b77e4bb0ca56c12d842e5acbf1:922c64590222798bb761d5b6d8e72950
