CVE-2015-7225
lowpriority · track · 22EPSS 0.021 · 81 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–5.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- tinfoilsecurity devise-two-factor≤ 1.1.0nvdUScpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-x489-jjwm-52g7Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)2018-08-28ghsa · osvUS
Tinfoil Devise-two-factor before 2.0.0 does not strictly follow [RFC 6238 § 5.2 ](https://datatracker.ietf.org/doc/html/rfc6238#section-5.2) and does not "burn" a successfully validated one-time password (aka OTP), which allows 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2015/06/20/4cnnvd
- http://www.openwall.com/lists/oss-security/2015/09/17/2cnnvd
- http://www.securityfocus.com/bid/76789cnnvd
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466cnnvd
- https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.mdcnnvd
- https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608cnnvd
- http://www.openwall.com/lists/oss-security/2015/06/20/4enisa_euvd
- http://www.openwall.com/lists/oss-security/2015/09/17/2enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan