CVEvulnerability

CVE-2023-6787

8.8 HIGH Published 2024-04-25 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-287

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.

Affected configurations

• redhat build of keycloak • redhat keycloak (< 22.0.10) • redhat keycloak (>= 23.0.0 < 24.0.3)

Related

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References