Skip to content
trendoviz

AI for Cybersecurity · Industry

Critical RabbitMQ OAuth2 Flaw Allows Token Minting

A critical RabbitMQ OAuth2 flaw lets unauthenticated callers mint privileged tokens, granting admin rights. Fixed in versions 4.4.1 and 4.3.8 (Nov 16); operators upgrade or apply workarounds.

Published

Summary

RabbitMQ’s management plugin OAuth2 implementation contains a critical flaw that allows unauthenticated callers to mint privileged tokens, potentially granting full administrator access. Fixed releases 4.4.1 and 4.3.8 were issued on November 16, and operators are advised to upgrade or apply interim mitigations.

Details

The vulnerability affects deployments using the management plugin’s OAuth2 login with both the management and OAuth2 plugins enabled and a client secret configured. An unauthenticated request can cause the broker to act as its own OAuth2 client, obtain a signed token with whatever scopes the identity provider grants, and use it to create administrator accounts and access all virtual hosts via AMQP. The flaw is tracked as GHSA-cfvg-5q96-8mhm and rated Critical (CVSS 9.1). Fixed releases 4.4.1 and 4.3.8, released on November 16, restrict the proxy to authorization_code and refresh_token grant types. No community fix exists for the 4.2 branch; version 4.2.13 is available only through Broadcom support. Operators who cannot upgrade can remove the management.oauth_client_secret setting or place authentication in front of the management port, though removal may break some identity provider flows. The patch does not remove tokens minted before upgrade, and the advisory provides no method to detect prior abuse.

Sources

Original source: The Hacker News

Found an error? Report it.