Aller au contenu
Critique 9.2

Apache Pulsar's MultiRolesTokenAuthorizationProvider authorizes a client with all roles listed in...

CVE-2026-105869 Première détection SecPulse

Résumé IA

Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.

Apache PulsarのMultiRolesTokenAuthorizationProviderで、署名を検証していないトークンのロールが認可に使われる脆弱性です。匿名ユーザーロールへのフォールバックが有効な環境では、未認証の攻撃者が管理用REST APIなどに不正なリクエストを送れるおそれがあります。影響を受けるのは2.8.1以上4.0.14未満および4.1.0以上4.2.5未満で、4.0.14または4.2.5以降への更新が必要です。

Paquets affectés

ÉcosystèmePaquetConcernéesCorrigé
Apache Software Foundation Apache Pulsar
≥ 2.8.1, < 4.0.14
≥ 4.1.0, < 4.2.5
4.0.14
4.2.5
Description d'origine La description telle que publiée par la source (souvent en anglais).

Apache Pulsar's MultiRolesTokenAuthorizationProvider authorizes a client with all roles listed in a claim of its JSON Web Token (JWT). The provider is intended for use with token authentication, which verifies the token before authorization. The provider did not verify the token itself: it parsed the token's claims with the signature removed and trusted that authentication had already checked it.

When authentication and authorization are enabled with a non-empty anonymousUserRole setting, some HTTP requests whose credentials fail authentication are not rejected, but are handled as requests of the anonymous user role. For the broker's HTTP endpoints, such as the admin REST API, this fallback applies to requests that do not name an authentication method and requires strictAuthMethod to be false (the default) where that setting is available. For the WebSocket API, failed credentials can also fall back to the anonymous user role; this path does not enforce strictAuthMethod. The authentication data kept for such a request still contained the request's Authorization header. MultiRolesTokenAuthorizationProvider then read the bearer token from that header without verifying its signature and authorized the request with the roles in the token's role claim.

As a result, in deployments that use MultiRolesTokenAuthorizationProvider together with a non-empty anonymousUserRole and that permit this fallback, an unauthenticated client can send an HTTP request, for example to the admin REST…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus