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.
References
Link | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2024:6502 | Issue Tracking |
https://access.redhat.com/errata/RHSA-2024:6503 | Issue Tracking |
https://access.redhat.com/security/cve/CVE-2024-7318 | Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2301876 | Issue Tracking Vendor Advisory |
Configurations
History
07 Oct 2024, 20:15
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 4.8 |
20 Sep 2024, 16:02
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* | |
References | () https://access.redhat.com/errata/RHSA-2024:6502 - Issue Tracking | |
References | () https://access.redhat.com/errata/RHSA-2024:6503 - Issue Tracking | |
References | () https://access.redhat.com/security/cve/CVE-2024-7318 - Vendor Advisory | |
References | () https://bugzilla.redhat.com/show_bug.cgi?id=2301876 - Issue Tracking, Vendor Advisory | |
First Time |
Redhat
Redhat build Of Keycloak |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.1 |
10 Sep 2024, 12:09
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
09 Sep 2024, 19:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-09-09 19:15
Updated : 2024-10-07 20:15
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