CVE-2024-7318

MEDIUM EPSS 31.1%
Published Sep 9, 20241y ago · Modified Jun 17, 20262w ago
4.8 CVSS 3.1
Medium
Find Similar
Published Sep 9, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
4.8
Exploitability
2.2
Impact
2.5
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
31.1% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-324

Affected Products 1

VendorProductVersionRange
redhatbuild_of_keycloak*≥22.0  –  <24.0.7

References 4

  • access.redhat.com https://access.redhat.com/errata/RHSA-2024:6502
    Issue Tracking
  • access.redhat.com https://access.redhat.com/errata/RHSA-2024:6503
    Issue Tracking
  • access.redhat.com https://access.redhat.com/security/cve/CVE-2024-7318
    Vendor Advisory
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2301876
    Issue TrackingVendor Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.