Apache CXF's JwtRequestCodeFilter copies all claims from a signed request JWT into the authorization parameter map without excluding security-sensitive parameters. A client that can produce a validly-signed request JWT (e.g., one whose client_secret is known or compromised) can thereby substitute the code_challenge, code_challenge_method, nonce, and state values that were set in the outer HTTP request, undermining PKCE integrity and OpenID Connect replay protection. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NApache Cxf
APPApache< 3.6.124.0.0 – 4.1.8 (excl.)4.2.0 – 4.2.3 (excl.)
Related vulnerabilities
Apache CXF: RCE przez niebezpieczną deserializację JMS ObjectMessage
Apache CXF: wielokrotne użycie kodu autoryzacyjnego OAuth (CWE-294)
Apache CXF: brak walidacji scope w rejestracji klienta OAuth2
Apache CXF: pominięcie walidacji tokenów OIDC umożliwia authentication bypass
Apache CXF: brak walidacji pola 'aud' w tokenach JWT — Token Confusion