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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00423}

epss

{'score': 0.00435}


Mon, 30 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat keycloak
CPEs cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:*
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
Vendors & Products Redhat build Of Keycloak
Redhat keycloak

Fri, 14 Mar 2025 02:45:00 +0000


Wed, 13 Nov 2024 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-08-07T11:14:29.466Z

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 : Analyzed

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

Modified: 2025-06-30T13:49:15.333

Link: CVE-2023-6787

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2023-6787 - Bugzilla

cve-icon OpenCVE Enrichment

No data.