CVE-2023-6787CWE-287

Keycloak: session hijacking via re-authentication

Medium · published April 25, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
54.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00744 · 54.2th percentile
Weakness
CWE-287 · Improper Authentication
Published
2024-04-25T16:02Z
EPSS history
Timeline
  • 25 APR 16:02Z
    Keycloak: session hijacking via re-authentication
    cvelistv5