id: prometheus-exposed-panel

info:
  name: Prometheus Panel - Detect
  author: organiccrap,jfbes
  severity: info
  description: Prometheus 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:prometheus:prometheus:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: prometheus
    vendor: prometheus
  tags: panel,prometheus

http:
  - method: GET
    path:
      - '{{BaseURL}}/graph'
      - "{{BaseURL}}/prometheus/graph"

    stop-at-first-match: true
    matchers:
      - type: word
        part: body
        words:
          - '<title>Prometheus Time Series Collection and Processing Server</title>'
# digest: 4a0a0047304502210082bfca47364813145737d8199996f17d236d59698ea405085a23c7c8541ce9a502205edefe4b2a5b38c06fc35e6e2cfdd0866e3a73a3e0065cafa8b7a5d44ca3daf1:922c64590222798bb761d5b6d8e72950