Описание
In Apache CXF's OAuth2 Dynamic Client Registration endpoint, the authorization server accepts and stores the scope value supplied in the client registration request verbatim, without validating it against an AS-defined allowlist. This could lead to a client self-assigning privileged scopes at registration time. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
A flaw was found in Apache CXF. The OAuth2 Dynamic Client Registration endpoint in Apache CXF does not properly validate the scope value provided during client registration. This oversight allows a malicious client to assign itself privileged access scopes, potentially leading to unauthorized access or privilege escalation within the system.
Отчет
This flaw has a Moderate impact on Red Hat products that ship the Apache CXF OAuth2 module (cxf-rt-rs-security-oauth2). In CXF's OAuth2 Dynamic Client Registration endpoint, the authorization server stores the scope value supplied in a client registration request without validating it against a server-defined allowlist, so a client can self-assign privileged scopes at registration time and gain unauthorized access to protected resources. Exploitation requires that the Dynamic Client Registration endpoint be deployed and reachable. Red Hat products that bundle Apache CXF only for SOAP/JAX-WS web services do not ship the OAuth2 module and are not affected.
Меры по смягчению последствий
Restrict or disable the OAuth2 Dynamic Client Registration endpoint, or place it behind an authenticated administrative interface, so that untrusted clients cannot self-register with attacker-chosen scopes. Where the endpoint must remain enabled, enforce server-side validation of requested scopes against an allowlist.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat build of Apache Camel for Spring Boot 4 | cxf-rt-rs-security-oauth2 | Fix deferred | ||
| Red Hat Fuse 7 | cxf-rt-rs-security-oauth2 | Fix deferred | ||
| Red Hat JBoss Web Server 5 | cxf-rt-rs-security-oauth2 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
5.4 Medium
CVSS3
Связанные уязвимости
In Apache CXF's OAuth2 Dynamic Client Registration endpoint, the authorization server accepts and stores the `scope` value supplied in the client registration request verbatim, without validating it against an AS-defined allowlist. This could lead to a client self-assigning privileged scopes at registration time. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
In Apache CXF's OAuth2 Dynamic Client Registration endpoint, the authorization server accepts and stores the `scope` value supplied in the client registration request verbatim, without validating it against an AS-defined allowlist. This could lead to a client self-assigning privileged scopes at registration time. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
ELSA-2026-500571: ovirt-engine-wildfly security update (IMPORTANT)
ELSA-2026-500570: ovirt-engine-wildfly security update (IMPORTANT)
EPSS
5.4 Medium
CVSS3