RabbitMQ Address

ID

amqp_assignment_attached_port

Severity

green]info

Vendor

RabbitMQ

Family

Data Storage Secret

Description

The Advanced Message Queuing Protocol (AMQP) is an open standard application layer protocol for message-oriented middleware. The defining features of AMQP are message orientation, queuing, routing, reliability and security.

This protocol is used in RabbitMQ, one of the most widely deployed open source message broker.

Security

Any hardcoded AMQP Connection String or Credential is a potential secret reported by this detector.

Accidentally checking-in the key to source control repositories could compromise your AMQP service.

Examples

spring.rabbitmq.addresses=br1.google.com:5672,br2.google.com:5672

Mitigation / Fix

  1. Remove the credentials from the source code or committed configuration file.

  2. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s).

  3. If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG Repo-Cleaner. You may follow the procedure listed here for GitHub.

You should consider any sensitive data in commits with secrets as compromised.

Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories.