Overview
About vulnerability
Spring Security’s DPoPProofJwtDecoderFactory uses an internal cache to store the processed jti (JWT ID) claims, which is intended to protect against replay attacks by ensuring that each DPoP proof is only used once.
However, this cache has a strict maximum size limit of entries.
If the attacker is able to intercept a legitimate user’s valid DPoP proof, they can flood the server with dummy requests to forcefully evict the legitimate jti from the cache.
Once the jti is evicted, the attacker can successfully replay the intercepted valid DPoP proof, leading to unauthorized access and impersonation of the victim.
Details
- Affected product:
- Spring
- Affected packages:
- Spring Web Services @ 4.1.4 (+118 more)