cve.bz

CVE-2023-6787

8.8 highEPSS 0.7%

High (8.8) in redhat. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in org.keycloak:keycloak-services 22.0.10, 24.0.3.

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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-287
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c9h6-v78w-52wjMavenorg.keycloak:keycloak-services<22.0.1022.0.10
GHSA-c9h6-v78w-52wjMavenorg.keycloak:keycloak-services>=23.0.0 <24.0.324.0.3

References

Check your stackJSON