Description
pac4j-jwt versions prior to 4.5.9, 5.7.9, and 6.3.3 contain an authentication bypass vulnerability in JwtAuthenticator when processing encrypted JWTs that allows remote attackers to forge authentication tokens. Attackers who possess the server's RSA public key can create a JWE-wrapped PlainJWT with arbitrary subject and role claims, bypassing signature verification to authenticate as any user including administrators.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
pac4j pac4j-jwt
Default version status: unaffected
4.0 to < 4.5.9affected5.0 to < 5.7.9affected6.0 to < 6.3.3affected
pkg:maven/org.pac4j/pac4j-jwt