A critical vulnerability in the RabbitMQ message broker allows anyone who can reach the management port to mint privileged access tokens without credentials on deployments that use the management plugin's OAuth2 login.
The maintainers disclosed the flaw late last week, and fixed releases 4.4.1 and 4.3.8 have been available since November 16.
The flaw is tracked as GHSA-cfvg-5q96-8mhm, with a CVE assignment pending. The project rates it as Critical (9.1 on the CVSS scale), and no attacks targeting it have been reported so far.
Only deployments that follow the documented OAuth2 setup for the management interface are affected, with both the management and OAuth2 plugins enabled and a client secret configured.
What a minted token can do depends on the identity provider, and full administrator access requires a provider that grants the broker's client administrator scopes.
The management plugin includes a proxy that forwards token requests from the login flow to the identity provider, as detailed in the project's security advisory.
In the affected versions, that proxy answers callers who never authenticated, adds the broker's stored client secret to requests that lack one, and passes the requested scope through unchanged.
An anonymous caller can therefore have the broker act as its own OAuth2 client and request a signed token with whatever scopes the provider grants.
0 management Docker image: minting a token with no credentials, confirming it carried administrator rights, creating a persistent administrator account, and logging in over AMQP with the same token. A token accepted on AMQP reaches the broker's queues and messages across all virtual hosts, not just the management interface.
Source link







