Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2023-6787


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.


Published

2024-04-25T16:15:10.867

Last Modified

2025-06-30T13:49:15.333

Status

Analyzed

Source

[email protected]

Severity

CVSSv3.1: 6.5 (MEDIUM)

Weaknesses
  • Type: Secondary
    CWE-287
  • Type: Secondary
    CWE-287

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application redhat build_of_keycloak - Yes
Application redhat keycloak < 22.0.10 Yes
Application redhat keycloak < 24.0.3 Yes

References