id: blackbox-exporter-metrics

info:
  name: Blackbox Exporter Metrics Exposed
  author: DhiyaneshDk
  severity: info
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Blackbox Exporter"
  tags: blackbox,exposure,debug,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/metrics"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Blackbox exporter"
          - "blackbox_exporter_build_info"
        condition: or

      - type: status
        status:
          - 200
# digest: 490a0046304402205f9cf9af95b9a298442b48b85c0450a96fa8e27d216e3eb2ae23055f48099cb70220738806346796e275803564b3cdfb9ecca81685e1bc1419440ea272f875870cd9:922c64590222798bb761d5b6d8e72950