Apache Software Foundation Apache CXF
Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow
The OpenID Connect Core 1.0 specification mandates that the RP MUST validate the `c_hash` parameter when operating in the Hybrid Flow. If an Apache CXF RP is integrated with a non-compliant or misconfigured Identity Provider (IdP) that omits the `c_hash`, the RP becomes vulnerable to Authorization Code Substitution/Injection attacks. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-20
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Apache Software Foundation Apache CXF
- >= 4.2.0, < 4.2.3
- >= 4.0.0, < 4.1.8
- < 3.6.12
Fixed in 4.2.3, 4.1.8, 3.6.12
Mitigation
Upgrade Apache CXF to 4.2.3 or 4.1.8 or 3.6.12 or later.
References
- Vendor advisory lists.apache.org/thread/pj63c3pf7kkp1xhr53do704fwj3t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.