RabbitMQ policymaker RCE through federation-management nonmember RPC and distribution reflection
Summary
Summary
A RabbitMQ management user with the policymaker tag can escalate from vhost policy management to arbitrary BEAM function execution without administrator credentials, Erlang cookie knowledge, or local operating-system access
The chain combines:
- Policymaker-accessible global-p...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| otherrabbitmq-server |
>= 3.13.0, < 3.13.19→ 3.13.19 |
3.13.19 |
| otherrabbitmq-server |
>= 4.0.0, < 4.0.24→ 4.0.24 |
4.0.24 |
| otherrabbitmq-server |
>= 4.1.0, < 4.1.15→ 4.1.15 |
4.1.15 |
| otherrabbitmq-server |
>= 4.2.0, < 4.2.10→ 4.2.10 |
4.2.10 |
| otherrabbitmq-server |
>= 4.3.0, < 4.3.5→ 4.3.5 |
4.3.5 |
Original description The description as published by the source.
Summary
A RabbitMQ management user with the policymaker tag can escalate from vhost policy management to arbitrary BEAM function execution without administrator credentials, Erlang cookie knowledge, or local operating-system access
The chain combines:
- Policymaker-accessible global-parameter names are converted into new Erlang atoms, allowing the attacker to intern
evil@attackerandoracle@attacker - The federation-management restart resource accepts an existing node atom and calls
rpc:call/5fromresource_exists/2without validating cluster membership - Two concurrent requests initiate two outbound distribution handshakes to attacker nodes
- OTP 27's legacy cookie digest can be reflected between those connections because it is not bound to peer identity, connection direction, or the complete transcript
- The authenticated connection can address
rexwith attacker-controlled module, function, arguments, external PID, and correlation tag
The proof invokes only erlang:md5(Nonce) and verifies the exact returned digest. A request changing only the function to nonexistent erlang:md6/1 returns a correlated undef response without the positive digest
This is an authenticated policymaker RCE, not an administrator-only, unauthenticated, or pre-authentication issue
Preconditions
- Valid management credentials with the
policymakertag - Permission for the selected vhost
rabbitmq_federationandrabbitmq_federation_managementenabled- Global-par…
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY rabbitmq/rabbitmq-server