CVE-2015-7225
Tinfoilsecurity Devise-two-factor vulnerability
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.
Affected products
Devise-two-factor. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tinfoilsecurity Devise-two-factor runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.securityfocus.com/bid/76789 · Third Party Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466 · Third Party Advisory
- github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md · Third Party Advisory
- github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608 · Third Party Advisory
- www.openwall.com/lists/oss-security/2015/06/20/4
- www.openwall.com/lists/oss-security/2015/09/17/2
- nvd.nist.gov/vuln/detail/CVE-2015-7225
- cve.org/CVERecord?id=CVE-2015-7225
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.