CVE Feed

    Dashboard / CVE / CVE-2024-7318

    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:Sep 9, 2024
    Last Modified:Jan 26, 2026
    EPS:Sep 9, 2024
    EPSS Score:0.01027
    CVSS Score:4.8

    Affected Products

    Vendor
    Redhat
    Product
    Build Keycloak
    Vendor
    Redhat
    Product
    Build Of Keycloak

    Exploits

    No exploit reference

    Common Attack Pattern Enumeration and Classification (CAPEC)

    No CAPEC recorded yet

    Related CVEs

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High