{"id":"CVE-2023-3597","aliases":["CVE-2023-3597","GHSA-4f53-xh3v-g8x4"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: secondary factor bypass in step-up authentication","summary":"A flaw was found in Keycloak, where it does not correctly validate its client step-up authentication in org.keycloak.authentication. This flaw allows a remote user authenticated with a password to register a false second authentication factor along with an existing one and bypass authentication.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Keycloak, where it does not correctly validate its client step-up authentication in org.keycloak.authentication. This flaw allows a remote user authenticated with a password to register a false second authentication factor along with an existing one and bypass authentication.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una falla en Keycloak, donde no valida correctamente la autenticación incremental de su cliente en org.keycloak.authentication. Esta falla permite que un usuario remoto autenticado con una contraseña registre un segundo factor de autenticación falso junto con uno existente y omita la autenticación.","source":"nvd"}],"published":"2024-04-17T17:31:50.000Z","modified":"2026-11-26T23:10:42.597Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"}],"cwes":["CWE-287","CWE-288"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"22.0.10","status":"affected"},{"type":"semver","introduced":"23.0.0","fixed":"24.0.3","status":"affected"}],"package":"keycloak","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22.0.10-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22-13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22-16","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22.0.10","package":"keycloak","cpe":"cpe:/a:redhat:build_keycloak:22","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"RHSSO 7.6.8","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"22.0.10"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"23.0.0","status":"affected","fixed":"24.0.3"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1866","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:1868","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-3597","tags":["vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2221760","tags":["issue-tracking","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-4f53-xh3v-g8x4","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3597","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/aa634aee882892960a526e49982806e103c8a432","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Johannes Bergmann (Bosch) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-02T15:08:53.952Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-3597","url":"https://www.cve.org/CVERecord?id=CVE-2023-3597","licence":"CVE Terms of Use","modified":"2026-11-26T23:10:42.597Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4f53-xh3v-g8x4","url":"https://github.com/advisories/GHSA-4f53-xh3v-g8x4","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.176Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-3597","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3597","licence":"Public domain","modified":"2026-06-17T06:14:26.010Z"}],"updatedAt":"2026-11-26T23:17:13.114Z","epss":{"score":0.00603,"percentile":0.50214,"date":"2026-12-01T12:00:22.000Z"}}