← Voltar ao feed
high

RabbitMQ management plugin OAuth2 proxy flaw (GHSA-cfvg-5q96-8mhm) lets unauthenticated callers mint admin tokens

3 fonte(s) · 3 atualização(ões) · publicado 29/11/2026 23:59 · coletado há 5 dias

Matéria consolidada. Reúne 4 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 3 fontes trouxeram em 01/12/2026 00:05; os links antigos trazem para cá.

Fontes: thehackernews.com ↗ gbhackers.com ↗ securityonline.info ↗

A critical authentication bypass in the RabbitMQ management plugin's OAuth2 token proxy, tracked as GHSA-cfvg-5q96-8mhm (CVSS v4.0 9.1, CWE-306), lets anyone who can reach the management listener obtain tokens without credentials (gbhackers.com). The proxy answers unauthenticated callers, adds the broker's stored client secret to their requests toward the identity provider and passes the requested scope through unchanged (thehackernews.com). The advisory was published on November 27, 2026, has no CVE yet (CVE pending per thehackernews.com; securityonline.info also reports no CVE IDs assigned) and reports no exploitation in the wild, only controlled testing. securityonline.info (November 30) notes that several of the advisories published that day include proof-of-concept details. Fixed releases 4.4.1 and 4.3.8 have been available since November 16, 11 days before the advisory went public (thehackernews.com). Only deployments following the documented OAuth2 setup are exposed: management and OAuth2 plugins enabled and a confidential client with a client secret configured. Full administrator rights also require an identity provider that grants the broker client's admin scopes (securityonline.info describes this as a permissive identity provider). Patching does not remove administrator accounts created through the flaw, so defenders should review accounts.

Entenda a falha

A vulnerabilidade

GHSA-cfvg-5q96-8mhm (no CVE yet, CVSS v4.0 9.1, CWE-306 missing authentication) is a critical flaw in the OAuth2 token proxy of the RabbitMQ management plugin. Anyone who can reach the management listener can get a signed token from the identity provider without credentials. Only setups using the documented OAuth2 configuration are exposed: management and OAuth2 plugins enabled and a confidential client with a client secret. Full admin rights also need an identity provider that grants the broker client admin scopes. Affected: 4.4.0, 4.3.3 to 4.3.7 and 4.2.9 to 4.2.12. Fixed in 4.4.1 and 4.3.8. For 4.2, gbhackers and securityonline list 4.2.13, but The Hacker News says it is only available via Broadcom commercial support, since community support ended July 31.

Como funciona

During the management login flow, token requests go to a proxy inside the management plugin, which forwards them to the identity provider. In the affected versions the proxy answers callers who never authenticated. It adds the broker's stored client secret to requests that lack one and passes the requested scope through unchanged. The identity provider sees what looks like a legitimate request from the broker's own client and issues a signed token with whatever scopes it grants that client. That token is accepted by the management API and also by the AMQP 0-9-1 listener, across all virtual hosts, so an attacker could read, publish or purge messages.

Por que é vulnerável

The proxy neither authenticated its callers nor limited what it relayed. It acted as the broker's own confidential OAuth2 client on behalf of any anonymous network peer, attaching the secret and forwarding the scope as requested, for any grant type. The fix restricts it to the authorization_code and refresh_token grant types that the management login actually uses. The proxy is a recent addition: it arrived in 4.3.3 in July to fix OAuth2 logins failing in Safari.

Onde está

The OAuth2 token proxy in the RabbitMQ management plugin, together with the management.oauth_client_secret setting; the fix is a pull request merged on October 22 (number not given in the articles).

Como foi descoberta

The researcher credited as shanz0ng reported the flaw; securityonline.info also credits Pierpaolo1223 and titaniumtushar for other advisories in the set. The fix was merged on October 22 and shipped in 4.4.1 and 4.3.8 on November 16. The advisory went public on November 27 with no exploitation in the wild, only controlled testing. It was one of several advisories that day: seven per The Hacker News, six per securityonline.info, which says it relied on the article alone. The articles do not say how the researcher found the flaw. Two earlier OAuth flaws were disclosed in July, one exposing the same client secret.

PoC pública

shanz0ng demonstrated the flaw end to end on the official RabbitMQ 4.4.0 management Docker image: a token minted without credentials, confirmed to carry admin rights, a persistent administrator account created through the management API, and an AMQP login with the same token. securityonline.info says the advisories published that day include reproduction steps and detailed test results, and that a runnable script exists for the CSRF flaw, not for this one. No standalone exploit tool is cited. Because the chain is documented, patch quickly and review accounts, as the update does not remove administrators created through the flaw.

Publicada em: securityonline.info/rabbitmq-authentication-bypass-poc/ ↗

Explicação gerada por IA a partir da matéria e dos artigos, em 01/12/2026 00:20.

Detalhes técnicos

  • The proxy forwards login-flow token requests to the identity provider. It arrived in 4.3.3 in July to fix OAuth2 logins failing in Safari, so the affected 4.3 and 4.2 ranges begin with releases from that month (thehackernews.com).
  • Token privileges depend on what the identity provider allows the client to request (gbhackers.com).
  • Researcher shanz0ng demonstrated the flaw on the official 4.4.0 management Docker image (thehackernews.com). The demonstration minted a token without credentials, confirmed it carried admin rights and created a persistent administrator account through the management API.
  • The same token worked over the AMQP 0-9-1 listener, giving access across all virtual hosts. An attacker could read, publish or purge messages (gbhackers.com, thehackernews.com). securityonline.info likewise says a minted admin token works on both the management API and AMQP listeners.
  • A fix pull request merged on October 22 restricts the proxy to the authorization_code and refresh_token grant types used by the management login (thehackernews.com).
  • It is one of several RabbitMQ advisories published the same day. thehackernews.com counts seven: the others are a high-severity CSRF in the management API, two medium and three low. securityonline.info counts six (see Conflicting Reports). Details of the others from securityonline.info:
    • CSRF in the Management API (High): HTTP Basic auth with no anti-CSRF tokens, and JSON bodies accepted as text/plain, which skips CORS preflight. A runnable exploit script is published.
    • LDAP regex injection (Medium): usernames are inserted unescaped into ACL regexes.
    • AMQP 1.0 crash (Medium): a crafted message annotation crashes consumer sessions and dead-letter workers. Anthropic's OSS Scanner found it.
    • Low severity: expired JWTs stay valid for up to 15 seconds with the auth cache plugin, and dead-lettering skips topic permission checks (reaching back to 3.7.0).
  • Credited researchers across the advisories: shanz0ng, Pierpaolo1223 and titaniumtushar (securityonline.info).

Remediação

  • Affected versions: 4.4.0, 4.3.3 to 4.3.7 and 4.2.9 to 4.2.12 (gbhackers.com). securityonline.info states the critical flaw affects 4.2.9 and later.
  • Upgrade to 4.4.1 or 4.3.8. The patch limits the proxy to the flows needed for interactive sign-in and token refresh.
  • The 4.2 branch has no community fix: 4.2.13 is available only through Broadcom commercial support, and community support for 4.2 ended on July 31 (thehackernews.com). securityonline.info lists the fixed versions for the day's advisories as 4.4.1, 4.3.8, 4.2.13, 4.1.18 and 3.13.22; the 4.1.18 and 3.13.22 releases relate to the older-branch flaws, and the record has no confirmation they carry the OAuth2 fix.
  • Interim options: remove management.oauth_client_secret or put authentication in front of the management listener. Removing the secret can break logins or token refresh with some identity providers, so verify SSO first. securityonline.info also advises blocking public access to the management plugin and its OAuth2 endpoints, and restricting the identity provider so the RabbitMQ client cannot obtain admin scopes.
  • Rotate OAuth2 client secrets if the plugin was exposed to untrusted networks (securityonline.info).
  • Review identity provider logs for unexpected token issuance, and review broker accounts for unfamiliar administrators and unusual queue activity. The advisory does not say how to detect tokens already minted (thehackernews.com).
  • For the companion flaws: avoid browsing untrusted sites while logged in to the management UI (CSRF) and audit LDAP usernames for regex characters (securityonline.info).

Relatos divergentes

  • Fix for 4.2: gbhackers.com and securityonline.info list 4.2.13 as a fixed version without qualification. thehackernews.com, the more detailed source, says 4.2.13 is available only via Broadcom commercial support and that community 4.2 support has ended.
  • Researcher: gbhackers.com does not say whether the researcher is named. thehackernews.com and securityonline.info name shanz0ng (securityonline.info also credits Pierpaolo1223 and titaniumtushar for the advisory set).
  • Number of advisories published November 27: thehackernews.com reports seven (one critical, one high, two medium, three low). securityonline.info, the more recent source, reports six (one critical, one high, two medium, and two low severity items listed). securityonline.info states its research was based on the article alone, with no vendor sources checked.

Linha do tempo

  1. thehackernews.com ↗ · pub. 30/11/2026 09:23 · coletado 30/11 11:00

    Critical RabbitMQ management OAuth2 proxy flaw (GHSA-cfvg-5q96-8mhm) lets unauthenticated callers mint admin tokens

    ler a análise desta fonte

    A critical flaw (GHSA-cfvg-5q96-8mhm, CVE pending, CVSS 9.1 per the project) in the RabbitMQ management plugin's OAuth2 token proxy lets anyone who can reach the management port mint tokens without credentials. The proxy answers unauthenticated callers and adds the broker's stored client secret to their requests. It also passes the requested scope through unchanged. Only deployments that follow the documented OAuth2 setup are affected: the management and OAuth2 plugins enabled and a client secret configured. Full administrator rights also require an identity provider that grants the broker client's admin scopes. No attacks have been reported so far. Fixed releases 4.4.1 and 4.3.8 have been available since November 16.

    Technical Details

    • The proxy forwards login-flow token requests to the identity provider. It arrived in 4.3.3 in July to fix OAuth2 logins failing in Safari, so the affected 4.3 and 4.2 ranges begin with releases from that month.
    • The researcher shanz0ng demonstrated the flaw on the official 4.4.0 management Docker image. The demonstration minted a token without credentials, confirmed it carried admin rights and created a persistent administrator account. It then logged in over AMQP with the same token, which reaches queues and messages across all virtual hosts.
    • It is one of seven RabbitMQ advisories published the same day. The others are a high-severity CSRF in the management API, two medium and three low.

    Fix Details

    A fix pull request merged on October 22 restricts the proxy to the authorization_code and refresh_token grant types that the management login uses. It shipped in 4.4.1 and 4.3.8 on November 16, 11 days before the advisory went public. The PR number is not given in the article.

    Remediation

    • Upgrade to 4.4.1 or 4.3.8.
    • The 4.2 branch has no community fix. 4.2.13 is available only through Broadcom commercial support, and community support for 4.2 ended on July 31.
    • Interim options: remove management.oauth_client_secret, or put authentication in front of the management port. Removing the secret can break logins or token refresh with some identity providers.
    • Patching does not remove administrator accounts created through the flaw, so review accounts. The advisory does not say how to detect tokens already minted.
  2. gbhackers.com ↗ · pub. 30/11/2026 06:06 · coletado 30/11 10:00

    RabbitMQ management plugin OAuth2 token proxy flaw (GHSA-cfvg-5q96-8mhm) allows unauthenticated administrator access

    ler a análise desta fonte

    RabbitMQ maintainers disclosed a critical authentication bypass in the management plugin's OAuth2 token proxy, tracked as GHSA-cfvg-5q96-8mhm (CVSS v4.0 9.1, CWE-306). The proxy accepted unauthenticated requests and used the broker's configured client secret toward the identity provider, so a remote caller could obtain a token without credentials. The advisory was published on November 27, 2026. It lists no CVE and reports no exploitation in the wild, only controlled testing.

    Technical Details

    Exposure requires network access to the management listener and an OAuth2 SSO configuration with a confidential client, meaning the broker holds a client secret. Token privileges depend on what the identity provider allows that client to request. In testing, an administrator token created a separate privileged account through the management API. The AMQP 0-9-1 listener also accepted the token, which allowed access across virtual hosts. An attacker could read, publish or purge messages. The article does not say whether the researcher is named.

    Remediation

    Affected: 4.4.0, 4.3.3 to 4.3.7 and 4.2.9 to 4.2.12. Fixed in 4.4.1, 4.3.8 and 4.2.13. The patch limits the proxy to the OAuth2 flows needed for interactive sign-in and token refresh. If upgrading must wait, place authentication in front of the management listener or remove the client secret, after checking that SSO will still work. Review identity provider logs for unexpected token issuance, and review broker accounts for unfamiliar administrators and unusual queue activity. Patching does not remove accounts created earlier. This summary rests on the article alone, since no web research was done.

  3. securityonline.info ↗ · pub. 29/11/2026 23:59 · coletado 30/11 06:00 primeiro registro

    RabbitMQ patches six flaws incl. critical anonymous OAuth2 token minting in management plugin; PoCs public

    ler a análise desta fonte

    The RabbitMQ team published six security advisories on November 27, 2026, with several including proof-of-concept details. The most severe is a critical RabbitMQ authentication bypass: an unauthenticated OAuth2 token-endpoint proxy in the management plugin adds the broker's client secret to relayed requests, letting anonymous users mint privileged tokens. The fixes ship in RabbitMQ 4.4.1. The article reports no exploitation in the wild and no CVE IDs assigned yet. This research was based on the article alone, and no vendor sources were checked.

    Technical Details

    • Anonymous OAuth2 token minting (Critical): affects 4.2.9 and later. It only affects deployments using the documented OAuth2 setup for the management UI, and needs a permissive identity provider to obtain admin scope. A minted admin token works on the management API and AMQP listeners.
    • CSRF in the Management API (High): HTTP Basic auth with no anti-CSRF tokens, and JSON bodies accepted as text/plain, which skips CORS preflight. A runnable exploit script is published.
    • LDAP regex injection (Medium): usernames are inserted unescaped into ACL regexes.
    • AMQP 1.0 crash (Medium): a crafted message annotation crashes consumer sessions and dead-letter workers.
    • Low severity: expired JWTs stay valid for up to 15 seconds with the auth cache plugin, and dead-lettering skips topic permission checks (reaching back to 3.7.0).
    • Credited researchers: shanz0ng, Pierpaolo1223, titaniumtushar. Anthropic's OSS Scanner found the AMQP 1.0 crash.

    Remediation

    Fixed versions are 4.4.1, 4.3.8, 4.2.13, 4.1.18 and 3.13.22. Until patched, block public access to the management plugin and its OAuth2 endpoints, and restrict the identity provider so the RabbitMQ client cannot obtain admin scopes. Avoid browsing untrusted sites while logged in to the management UI, and audit LDAP usernames for regex characters. Rotate OAuth2 client secrets if the plugin was exposed to untrusted networks.