CVE-2024-7318

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

Configuration 1 (hide)

cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*

History

20 Sep 2024, 16:02

Type Values Removed Values Added
References () https://access.redhat.com/errata/RHSA-2024:6502 - () https://access.redhat.com/errata/RHSA-2024:6502 - Issue Tracking
References () https://access.redhat.com/errata/RHSA-2024:6503 - () https://access.redhat.com/errata/RHSA-2024:6503 - Issue Tracking
References () https://access.redhat.com/security/cve/CVE-2024-7318 - () https://access.redhat.com/security/cve/CVE-2024-7318 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2301876 - () https://bugzilla.redhat.com/show_bug.cgi?id=2301876 - Issue Tracking, Vendor Advisory
CVSS v2 : unknown
v3 : 4.8
v2 : unknown
v3 : 8.1
First Time Redhat
Redhat build Of Keycloak
CPE cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*

10 Sep 2024, 12:09

Type Values Removed Values Added
Summary
  • (es) Se encontró una vulnerabilidad en Keycloak. Los códigos OTP vencidos aún se pueden usar al usar FreeOTP cuando el período del token OTP está configurado en 30 segundos (predeterminado). En lugar de vencer y considerarse inutilizables después de unos 30 segundos, los tokens son válidos durante 30 segundos adicionales, lo que suma un total de 1 minuto. Un código de acceso de un solo uso que sea válido por más tiempo que su tiempo de vencimiento aumenta la ventana de ataque para que los actores maliciosos abusen del sistema y comprometan las cuentas. Además, aumenta la superficie de ataque porque en un momento dado, dos OTP son válidas.

09 Sep 2024, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-09 19:15

Updated : 2024-09-20 16:02


NVD link : CVE-2024-7318

Mitre link : CVE-2024-7318

CVE.ORG link : CVE-2024-7318


JSON object : View

Products Affected

redhat

  • build_of_keycloak
CWE
CWE-324

Use of a Key Past its Expiration Date