Skip to content
Critical 9.2

Apache Pulsarで未検証のトークンにより認証を回避される恐れ

CVE-2026-105869 First seen on SecPulse

Summary

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

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

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

Affected packages

EcosystemPackageAffectedFixed
Apache Software Foundation Apache Pulsar
≥ 2.8.1, < 4.0.14
≥ 4.1.0, < 4.2.5
4.0.14
4.2.5
Original description The description as published by the source.

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

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details