Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
Summary
The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud' (Audience) claims of incoming JWT access tokens. This allows a JWT issued for one Resource Server to be successfully replayed against a completely different Resource Server, leading to Token Confusion/Routing attacks. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.
What this means
In plain English
The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud' (Audience) claims of incoming JWT access tokens. This allows a JWT issued for one Resource Server to be successfully replayed against a completely different Resource Server, leading to Token Confusion/Routing attacks. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.
Recommended action
Primary action: update to a vendor-listed fixed release: 4.2.2, 4.1.7.
Rewritten locally from the scraped official advisory data above; no generative API is used. The vendor advisory is authoritative.
- Apache CXF 4.2.0 before 4.2.2
- Apache CXF before 4.1.7
Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source
- 4.2.2
- 4.1.7
Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source
Mitigation
Upgrade to a fixed release: 4.2.2, 4.1.7. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.