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
    vendor: prometheus
    product: prometheus
  tags: panel,prometheus,discovery

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: 490a0046304402202306931a84f3cc4f28e0bf52b9197f76b8672b37bffd39358d3d68be422921f802205396df521038e63ab0cf043aa0f68919d68a9692298ff7e36688fe3059b83703:922c64590222798bb761d5b6d8e72950