Описание
In Apache CXF's DefaultEncryptingCodeDataProvider, a captured authorization code can be redeemed an unlimited number of times due to a flaw in the implementation of the removeCodeGrant functionality. This violates the RFC requirement that "The authorization code MUST NOT be used more than once." 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's DefaultEncryptingCodeDataProvider. This vulnerability allows a remote attacker to redeem a captured authorization code an unlimited number of times. The flaw exists due to an issue in the removeCodeGrant functionality, which fails to properly invalidate used authorization codes. This can lead to unauthorized access or session hijacking, violating the security principle that authorization codes should only be used once.
Отчет
A flaw was found in Apache CXF's DefaultEncryptingCodeDataProvider, which Red Hat products ship through the cxf-rt-rs-security-oauth2 component. A bug in the removeCodeGrant functionality prevents authorization codes from being properly invalidated after use, so a remote attacker who captures a valid authorization code can redeem it an unlimited number of times, violating the requirement that an authorization code be used only once. Successful replay of a captured code can lead to unauthorized access or session hijacking. Red Hat rates this flaw as moderate severity because exploitation requires an attacker to first capture a valid, unexpired authorization code and the direct impact is limited to confidentiality (RH CVSS 5.3, AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N). This differs from the CISA score of 9.8, which assumes full confidentiality, integrity, and availability impact without accounting for the prerequisite of capturing a code. The Red Hat build of Apache Camel 4 is affected and a fix is being pursued through the delegated resolution; Red Hat JBoss Web Server 5 is also affected, but that stream is out of support scope.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat JBoss Web Server 5 | cxf-rt-rs-security-oauth2 | Out of support scope | ||
| Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16 | cxf-rt-rs-security-oauth2 | Fixed | RHSA-2026:71675 | 24.09.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
5.3 Medium
CVSS3
Связанные уязвимости
In Apache CXF's DefaultEncryptingCodeDataProvider, a captured authorization code can be redeemed an unlimited number of times due to a flaw in the implementation of the removeCodeGrant functionality. This violates the RFC requirement that "The authorization code MUST NOT be used more than once." 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 DefaultEncryptingCodeDataProvider, a captured authorization code can be redeemed an unlimited number of times due to a flaw in the implementation of the removeCodeGrant functionality. This violates the RFC requirement that "The authorization code MUST NOT be used more than once." 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.3 Medium
CVSS3