Products
Keycloak
Source
secalert@redhat.com
Tags
CVE-2024-7318 details
Published : Sept. 9, 2024, 7:15 p.m.
Last Modified : Sept. 9, 2024, 7:15 p.m.
Last Modified : Sept. 9, 2024, 7:15 p.m.
Description
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.
CVSS Score
1 | 2 | 3 | 4.8 | 5 | 6 | 7 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-324 | Use of a Key Past its Expiration Date | The product uses a cryptographic key or password past its expiration date, which diminishes its safety significantly by increasing the timing window for cracking attacks against that key. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Base Score
4.8
Exploitability Score
2.2
Impact Score
2.5
Base Severity
MEDIUM
Vector String : CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References
URL | Source |
---|---|
https://access.redhat.com/errata/RHSA-2024:6502 | secalert@redhat.com |
https://access.redhat.com/errata/RHSA-2024:6503 | secalert@redhat.com |
https://access.redhat.com/security/cve/CVE-2024-7318 | secalert@redhat.com |
https://bugzilla.redhat.com/show_bug.cgi?id=2301876 | secalert@redhat.com |
This website uses the NVD API, but is not approved or certified by it.