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

Configuration 1 (hide)

OR cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:*
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-04-25 16:15

Updated : 2025-06-30 13:49


NVD link : CVE-2023-6787

Mitre link : CVE-2023-6787

CVE.ORG link : CVE-2023-6787


JSON object : View

Products Affected

redhat

  • keycloak
  • build_of_keycloak
CWE
CWE-287

Improper Authentication