Vulnerabilities (CVE)

Filtered by vendor Tinfoilsecurity Subscribe
Filtered by product Devise-two-factor
Total 3 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2015-7225 1 Tinfoilsecurity 1 Devise-two-factor 2024-11-21 3.5 LOW 5.3 MEDIUM
Tinfoil Devise-two-factor before 2.0.0 does not strictly follow section 5.2 of RFC 6238 and does not "burn" a successfully validated one-time password (aka OTP), which allows remote or physically proximate attackers with a target user's login credentials to log in as said user by obtaining the OTP through performing a man-in-the-middle attack between the provider and verifier, or shoulder surfing, and replaying the OTP in the current time-step.
CVE-2024-8796 1 Tinfoilsecurity 1 Devise-two-factor 2024-09-30 N/A 5.3 MEDIUM
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.
CVE-2021-43177 1 Tinfoilsecurity 1 Devise-two-factor 2024-02-28 3.5 LOW 5.3 MEDIUM
As a result of an incomplete fix for CVE-2015-7225, in versions of devise-two-factor prior to 4.0.2 it is possible to reuse a One-Time-Password (OTP) for one (and only one) immediately trailing interval. CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)