CVE-2024-7318
low-risk
Published 2024-09-09
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.
Do I need to act?
~
1.4% chance of exploitation in next 30 days
EPSS score — moderate exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
4
CVSS 4.8/10
Medium
NETWORK
/ HIGH complexity
Affected Products (1)
Affected Vendors
References (4)
Issue Tracking
https://access.redhat.com/errata/RHSA-2024:6502
Issue Tracking
https://access.redhat.com/errata/RHSA-2024:6503
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2024-7318
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2301876
24
/ 100
low-risk
Severity
15/34 · Moderate
Exploitability
4/34 · Minimal
Exposure
5/34 · Minimal