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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2024-04-25T16:02:32.916Z

Updated: 2024-09-16T18:55:37.403Z

Reserved: 2023-12-13T16:22:00.344Z

Link: CVE-2023-6787

cve-icon Vulnrichment

Updated: 2024-08-02T08:42:07.631Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-25T16:15:10.867

Modified: 2024-07-03T01:44:24.660

Link: CVE-2023-6787

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-02-21T00:00:00Z

Links: CVE-2023-6787 - Bugzilla