id: rabbitmq-exporter-metrics

info:
  name: RabbitMQ Exporter
  author: DhiyaneshDk
  severity: low
  description: RabbitMQ Exporter is exposed.
  classification:
    cpe: cpe:2.3:a:vmware:rabbitmq:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: vmware
    product: rabbitmq
    shodan-query: title:"RabbitMQ Exporter"
  tags: rabbitmq,exposure,debug,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "rabbitmq_up"
          - "rabbitmq_exporter_build_info"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100c1cc29634b889bc52ef1cf98fe54d7712d94f71fda245170475b189d6a16ac1b0220401837bfc0114e1206391b177442a64f6d96c14d8441c886554048324cf962df:922c64590222798bb761d5b6d8e72950