Description
pac4j-core before 6.5.6 contains an authentication bypass vulnerability in CheckProfileTypeAuthorizer that reverses the profile type validation logic. Attackers can authenticate through a weaker client and access resources requiring a stronger profile type by satisfying generic profile checks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pac4j | pac4j | < 6.5.6 | 6.5.6 |
References
- Patch Commit patch
- pac4j Security Advisory for pac4j-core, pac4j-oidc and pac4j-saml vendor-advisory
- https://github.com/pac4j/pac4j/blob/pac4j-parent-6.5.5/pac4j-core/src/main/java/org/pac4j/core/authorization/authorizer/CheckProfileTypeAuthorizer.java technical-description
- https://github.com/pac4j/pac4j product
- VulnCheck Advisory: pac4j-core before 6.5.6 Authorization Bypass via Reversed Profile Type Check third-party-advisory