CVE-2015-7225
MEDIUMtinfoilsecurity devise-two-factor < 2.0.0 - One-Time Password Reuse via RFC 6238 Non-Compliance
Title source: llmDescription
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.
References (6)
Core 6
Core References
Third Party Advisory x_refsource_confirm
https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md
Mailing List, VDB Entry mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2015/09/17/2
Mailing List, VDB Entry mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2015/06/20/4
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/76789
Mailing List, Third Party Advisory x_refsource_misc
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466
Third Party Advisory x_refsource_confirm
https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608
Scores
CVSS v3
5.3
EPSS
0.0065
EPSS Percentile
71.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-254
Status
published
Products (2)
rubygems/devise-two-factor
0 - 2.0.0RubyGems
tinfoilsecurity/devise-two-factor
< 1.1.0
Published
Sep 06, 2017
Tracked Since
Feb 18, 2026