TROYANOSYVIRUS
Back to CVEs

CVE-2024-7318

MEDIUM
4.8

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.

CVE Details

CVSS v3.1 Score4.8
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published9/9/2024
Last Modified10/7/2024
Sourcenvd
Honeypot Sightings0

Affected Products

redhat:build_of_keycloak

Weaknesses (CWE)

CWE-324

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.