Skip to content
Low 2.3

RabbitMQ policymaker RCE through federation-management nonmember RPC and distribution reflection

GHSA-27gv-h5q6-cpwg First seen on SecPulse

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:

  1. Policymaker-accessible global-p...

Affected packages

PackageAffected → Fixed
otherrabbitmq-server
>= 3.13.0, < 3.13.19→ 3.13.19
otherrabbitmq-server
>= 4.0.0, < 4.0.24→ 4.0.24
otherrabbitmq-server
>= 4.1.0, < 4.1.15→ 4.1.15
otherrabbitmq-server
>= 4.2.0, < 4.2.10→ 4.2.10
otherrabbitmq-server
>= 4.3.0, < 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:

  1. Policymaker-accessible global-parameter names are converted into new Erlang atoms, allowing the attacker to intern evil@attacker and oracle@attacker
  2. The federation-management restart resource accepts an existing node atom and calls rpc:call/5 from resource_exists/2 without validating cluster membership
  3. Two concurrent requests initiate two outbound distribution handshakes to attacker nodes
  4. 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
  5. The authenticated connection can address rex with 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 policymaker tag
  • Permission for the selected vhost
  • rabbitmq_federation and rabbitmq_federation_management enabled
  • Global-par…

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details