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