Vulnerability in Red Hat Build Of Keycloak
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 33.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Red Hat Build Of Keycloak
- Red Hat Build Of Keycloak 24 — versions 24.0.7-4, 24-16
- Red Hat Build Of Keycloak
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2024:6502 (vendor-advisory, Issue Tracking)
- access.redhat.com/errata/RHSA-2024:6503 (vendor-advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2024-7318 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-7318?
- CVE-2024-7318 is a medium-severity vulnerability in Red Hat Build Of Keycloak, classified under Use of a Key Past its Expiration Date. CVSS score: 4.8/10. Published 2024-09-09.
- How severe is CVE-2024-7318?
- Medium severity. CVSS v3 base score is 4.8 out of 10.
- Is CVE-2024-7318 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.