CVE-2023-6787
Description
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.
How to fix
- redhat keycloak22.0.10, 24.0.3 or later
- org.keycloak:keycloak-services22.0.10, 24.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat keycloak | v < 22.0.10, 23.0.0 ≤ v < 24.0.3 | 22.0.10, 24.0.3 |
| redhat build_of_keycloak | No range specified | — |
| org.keycloak:keycloak-servicesMaven | v < 22.0.10, 23.0.0 ≤ v < 24.0.3 | 22.0.10, 24.0.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.