Impact
A misconfiguration in the proxy authorization flow causes the broker to authorize the original principal with the proxy's authentication data rather than the original principal's own credentials. When a proxy authenticates using a token that includes privileged roles, the broker incorrectly grants those roles to the proxied user, allowing the user to perform actions reserved for superusers or tenant administrators. Additionally, the tenant admin check for proxied admin REST API requests overlooks the original principal when the proxy role itself is an admin of the tenant, enabling any forwarded user to execute tenant administration commands. This flaw is based on CWE‑863 and results in unauthorized privilege escalation without requiring the victim to possess those privileges themselves.
Affected Systems
The vulnerability applies to Apache Pulsar community releases from 2.8.1 up to 4.0.13, from 4.1.0 up to 4.2.4, and all earlier versions before 4.0.14 and 4.2.5. It requires the use of the MultiRolesTokenAuthorizationProvider or a custom provider that relies on authentication data, and it is triggered when a proxy role is granted tenant admin or superuser rights. Deployments that do not use the multi‑role token provider or that configure proxies without an admin token are not affected. The issue is present in versions 2.8.4 and later within the 2.8.x line, 2.9.3 and later within the 2.9.x, and 2.10.1 and later across subsequent releases.
Risk and Exploitability
The CVSS score of 7.7 indicates a high severity. EPSS is not available, so the current public exploitation likelihood is unknown, and the vulnerability is not listed in the CISA KEV catalog. The most probable attack vector involves an attacker controlling or compromising a proxy server that provides the broker with a token containing privileged roles, or taking advantage of a configuration where the proxy role is listed as a tenant admin. From that position, the attacker can issue proxied requests that are granted elevated permissions, leading to unrestricted access to data and administrative capabilities across the Pulsar tenant.
OpenCVE Enrichment