Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-7318— Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity

CVSS 4.8 · Medium EPSS 1.22% · P79
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-7318

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
使用已过期的密钥
Source: NVD (National Vulnerability Database)
Vulnerability Title
Red Hat Keycloak 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Red Hat Keycloak是美国红帽(Red Hat)公司的一套为现代应用和服务提供身份验证和管理功能的软件。 Red Hat Keycloak存在安全漏洞,该漏洞源于当 OTP 令牌周期设置为 30 秒(默认)时,使用 FreeOTP 时,过期的 OTP 代码仍然可用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Red HatRed Hat Build of Keycloak-cpe:/a:redhat:build_keycloak:24
Red HatRed Hat build of Keycloak 24 24.0.7-4 ~ * cpe:/a:redhat:build_keycloak:24::el9
Red HatRed Hat build of Keycloak 24 24-16 ~ * cpe:/a:redhat:build_keycloak:24::el9
Red HatRed Hat build of Keycloak 24 24-16 ~ * cpe:/a:redhat:build_keycloak:24::el9

II. Public POCs for CVE-2024-7318

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-7318

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-7318

No comments yet


Leave a comment