CVE-2024-8796
Last modified
CVE-2024-8796 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets that are 120 bits instead of the 128-bit minimum defined by RFC 4226. Using a shared secret shorter than the minimum to generate a multi-factor authentication code could make it easier for an attacker to guess the shared secret and generate valid TOTP codes.. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
Description
Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets that are 120 bits instead of the 128-bit minimum defined by RFC 4226. Using a shared secret shorter than the minimum to generate a multi-factor authentication code could make it easier for an attacker to guess the shared secret and generate valid TOTP codes.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tinfoilsecurity | Devise-Two-Factor | >= 4.0.0, < 6.0.0 |
| Tinfoilsecurity | Devise-Two-Factor | 1.0.0 |
References
- https://github.com/devise-two-factor/devise-two-factor/security/advisories/GHSA-qjxf-mc72-wjr2Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-8796?
How severe is CVE-2024-8796?
How do I fix CVE-2024-8796?
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-8790The Social Share With Floating Bar plugin for WordPress is v…6.1
- CVE-2024-8791The Donation Forms by Charitable – Donations Plugin & Fundra…9.8
- CVE-2024-8792The Subscribe to Comments plugin for WordPress is vulnerable…6.1
- CVE-2024-8793The Store Exporter for WooCommerce – Export Products, Export…6.1
- CVE-2024-8794The BA Book Everything plugin for WordPress is vulnerable to…5.3
- CVE-2024-8795The BA Book Everything plugin for WordPress is vulnerable to…8.8
- CVE-2024-8797The WP Booking System – Booking Calendar plugin for WordPres…6.1
- CVE-2024-8798No proper validation of the length of user input in olcp_ind…6.5
- CVE-2024-8799The Custom Banners plugin for WordPress is vulnerable to Ref…6.1
- CVE-2024-8800The RabbitLoader – Website Speed Optimization for improving …6.1
- CVE-2024-8801The Happy Addons for Elementor plugin for WordPress is vulne…4.3
- CVE-2024-8802The Clio Grow plugin for WordPress is vulnerable to Reflecte…6.1
Are you affected by CVE-2024-8796?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
