REDHAT-BUG-2539769: Medium severity VMware RabbitMQ vulnerability
RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.0, ?LOGDEBUG("shutting down Shovel '~ts', ... Shovel state: ~tp", [Name, State]) formats the entire state map. The 'uris' field holds plaintext URIs after credentialsobfuscation:decrypt (called in rabbitshovelutil:deobfuscateduris/2). No formatstatus/1,2 callback exists in rabbitshovelworker to redact it. Triggered when an autodelete shovel (src-delete-after = N) completes. With DEBUG logging enabled, autodelete-shovel completion writes the full shovel state map , including decrypted amqp://user:password@host/ URIs , to the broker log file. Preconditions include Shovel plugin enabled with URI-embedded credentials DEBUG log level (non-default) Autodelete shovel configuration Attacker has log read access. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 3.13.15 - Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 4.0.20 - Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 4.1.11 - Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 4.2.6 - Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 4.3.0
Event History
Frequently Asked Questions
Is a default RabbitMQ deployment exposed to this logging issue?
The described exposure requires DEBUG logging, which is non-default. It also requires the Shovel plugin, an autodelete shovel configuration, and URI-embedded credentials.
What must occur before credentials are written to the broker log?
An autodelete shovel configured with src-delete-after = N must complete while DEBUG logging is enabled. The shovel must use URIs containing credentials, because the decrypted URI values are included in the logged state map.
Who could obtain the exposed credentials?
An attacker or user needs read access to the broker log file. The affected log entry can contain plaintext amqp://user:password@host/ URIs.
How can I determine whether this may already have exposed credentials?
Review broker logs generated while DEBUG logging was enabled for completion of autodelete shovels. Relevant entries are shutdown messages for a Shovel that include its full state map and may contain decrypted URI credentials.
Which versions contain the fix?
The issue is fixed in RabbitMQ versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.0.