CVE-2024-7318
Last modified
CVE-2024-7318 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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). EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | >= 22.0, < 24.0.7 |
References
- https://access.redhat.com/errata/RHSA-2024:6502Issue Tracking
- https://access.redhat.com/errata/RHSA-2024:6503Issue Tracking
- https://access.redhat.com/security/cve/CVE-2024-7318Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2301876Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-7318?
How severe is CVE-2024-7318?
How do I fix CVE-2024-7318?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-7312URL Redirection to Untrusted Site ('Open Redirect') vulnerab…6.1
- CVE-2024-7313The Shield Security WordPress plugin before 20.0.6 does not…6.1
- CVE-2024-7314anji-plus AJ-Report is affected by an authentication bypass …9.8
- CVE-2024-7315The Migration, Backup, Staging WordPress plugin before 0.9.…7.5
- CVE-2024-7316Improper Validation of Specified Quantity in Input vulnerabi…5.9
- CVE-2024-7317The Folders – Unlimited Folders to Organize Media Library Fo…5.4
- CVE-2024-7319An incomplete fix for CVE-2023-1625 was found in openstack-h…5
- CVE-2024-7320A vulnerability classified as critical has been found in its…9.8
- CVE-2024-7321A vulnerability classified as problematic was found in itsou…6.1
- CVE-2024-7322A ZigBee coordinator, router, or end device may change their…5.8
- CVE-2024-7323Digiwin EasyFlow .NET lacks proper access control for specif…6.5
- CVE-2024-7324A vulnerability was found in IObit iTop Data Recovery Pro 4.…8.5
Are you affected by CVE-2024-7318?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
