Skip to content
Brief Security & Trust ·

RabbitMQ login proxy gives anonymous callers tokens; admin where provider allows

A critical flaw in RabbitMQ's management OAuth2 login proxy has fixes in 4.4.1 and 4.3.8.

In brief
  • RabbitMQ's OAuth2 login proxy gives tokens to anonymous callers who can reach the management port. Admin rights depend on what the identity provider grants.
  • Versions 4.4.1 and 4.3.8 fix it. Branch 4.2 has no community fix.

The Hacker News reported on 30 November that RabbitMQ's management plugin has a critical flaw in its OAuth2 login proxy. Anyone who can reach the management port can get a signed token without logging in. The proxy adds the broker's stored client secret to requests and passes the requested scope along. The token carries whatever scopes the identity provider grants that client. Admin rights need a provider that grants them, and a client secret must be set.

Version 4.4.0 is affected. The proxy first shipped in 4.3.3 in July, and affected 4.3 and 4.2 releases start from then. Versions 4.4.1 and 4.3.8 fix it, released 16 November. The 4.2 branch has no community fix; 4.2.13 comes only through Broadcom's paid support. No attacks have been reported. The advisory does not say how to find tokens already minted. An administrator account created through the flaw survives patching.

A convenience proxy, added to fix Safari logins, became an open route to tokens issued under the broker's own client identity. In tests, the token also worked over AMQP, the broker's messaging port. Teams should ask which brokers use this login, what scopes the provider grants, and who has checked administrator accounts. Removing the secret helps, but some providers need it for login.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: RabbitMQ project (rabbitmq/rabbitmq-server maintainers).