mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
* feat(modules): add nsq and pulsar exposure modules * chore(modules): trim redundant module header comments drop the leading comment restating id/name on nsq-stats-exposure and pulsar-metrics-exposure
35 lines
763 B
YAML
35 lines
763 B
YAML
id: pulsar-metrics-exposure
|
|
info:
|
|
name: Apache Pulsar Broker Metrics Exposure
|
|
author: sif
|
|
severity: medium
|
|
description: Detects an exposed Apache Pulsar broker Prometheus metrics endpoint that leaks per-topic and per-subscription throughput and backlog figures without authentication
|
|
tags: [pulsar, apache, messaging, streaming, metrics, prometheus, exposure, unauth, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/metrics"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "pulsar_topics_count"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "pulsar_subscriptions_count"
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '(?m)^# TYPE pulsar_'
|