CVE-2023-6787
Fixed in a distro release EPSS <1%CVSS 6.5
A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.
Products: Red Hat build of Keycloak 22, Red Hat build of Keycloak 22.0.10, Red Hat Single Sign-On 7
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.10 |
| Maven | org.keycloak:keycloak-services | 24.0.3 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | keycloak | 24.0.3-r0 |
| Wolfi | keycloak | 24.0.3-r0 |