Vulnerability in Tinfoilsecurity Devise-Two-Factor
CVE-2015-7225
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.021, 81.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md (Third Party Advisory)
- [oss-security] 20150917 Re: CVE Request: TOTP Replay Attack in Ruby library (mailing-list, Mailing List, VDB Entry)
- [oss-sercurity] 20150620 CVE Request: MITM & Shoulder-surfing vuln in Ruby OTP/HOTP/TOTP library "ROPT" (mailing-list, Mailing List, VDB Entry)
- www.securityfocus.com/bid/76789 (Third Party Advisory, VDB Entry, vdb-entry)
- bugs.debian.org/cgi-bin/bugreport.cgi (Mailing List, Third Party Advisory)
- github.com/tinfoil/devise-two-factor/issues/45 (Third Party Advisory)