← Übersicht Keycloak

Keycloak: session hijacking via re-authentication

CVE-2023-6787 · GHSA-c9h6-v78w-52wj · WID-SEC-W-2024-0466

Mittel · CVSS 6.5 BSI: mittelRed Hat: Moderate Netzwerk · ohne Login · Nutzerinteraktion Fix verfügbar

Veröffentlicht
21.02.2024
Zuletzt geändert
10.09.2026
EPSS (30 Tage)
0.7 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 betroffen, 2 behoben.

Open Source Keycloak Betroffen
Red Hat Single Sign-On 7 Betroffenwird nicht behoben rh-sso7-keycloak
Red Hat build of Keycloak 22 Behoben rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator RHSA-2024:1867
Red Hat build of Keycloak 22.0.10 Behoben RHSA-2024:1868

Betroffene Pakete im beobachteten Stack

Mavenorg.keycloak:keycloak-services22.0.10GHSA-c9h6-v78w-52wj
Mavenorg.keycloak:keycloak-services23.0.0 → 24.0.3GHSA-c9h6-v78w-52wj
NVDredhat:keycloak22.0.10, 23.0.0 → 24.0.3CVE-2023-6787

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.