← Übersicht Keycloak

Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity

CVE-2024-7318 · BIT-keycloak-2024-7318 · GHSA-xmmm-jw76-q7vg

Mittel · CVSS 6.3 Red Hat: Low Netzwerk · ohne Login Fix verfügbar

Veröffentlicht
09.09.2024 15:55
Zuletzt geändert
10.09.2026
EPSS (30 Tage)
0.4 %
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

A vulnerability was found in Keycloak. Expired OTP codes are still usable when using FreeOTP when the OTP token period is set to 30 seconds (default). Instead of expiring and deemed unusable around 30 seconds in, the tokens are valid for an additional 30 seconds totaling 1 minute. A one time passcode that is valid longer than its expiration time increases the attack window for malicious actors to abuse the system and compromise accounts. Additionally, it increases the attack surface because at any given time, two OTPs are valid.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 behoben.

Red Hat Build of Keycloak Behoben RHSA-2024:6503
Red Hat build of Keycloak 24 Behoben rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator RHSA-2024:6502

Betroffene Pakete im beobachteten Stack

Bitnamikeycloak22.0.0 → 24.0.7BIT-keycloak-2024-7318
Mavenorg.keycloak:keycloak-core24.0.7GHSA-xmmm-jw76-q7vg
Mavenorg.keycloak:keycloak-core25.0.0 → 25.0.4GHSA-xmmm-jw76-q7vg
NVDredhat:build_of_keycloak22.0 → 24.0.7CVE-2024-7318

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