GitHub Advisory Database
GHSA-4f53-xh3v-g8x4
Keycloak secondary factor bypass in step-up authentication
Details
Keycloak does not correctly validate its client step-up authentication. A password-authed attacker could use this flaw to register a false second auth factor, alongside the existing one, to a targeted account. The second factor then permits step-up authentication.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 22.0.10 (fixed in 22.0.10) |
| Maven | org.keycloak:keycloak-services | From 23.0.0 before 24.0.3 (fixed in 24.0.3) |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-4f53-xh3v-g8x4
- https://nvd.nist.gov/vuln/detail/CVE-2023-3597
- https://github.com/keycloak/keycloak/commit/aa634aee882892960a526e49982806e103c8a432
- https://access.redhat.com/errata/RHSA-2024:1866
- https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/security/cve/CVE-2023-3597
- https://bugzilla.redhat.com/show_bug.cgi?id=2221760
- https://github.com/keycloak/keycloak