VULNERABILITY INTELLIGENCE

CVE-2023-6787

CVSS score6.5 MEDIUM
EPSS probability0.74%
CISA KEVNot currently listed
Published2024-04-25
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Description

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.

Weakness classification

  • secalert@redhat.com: CWE-287
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-287

Primary references