CVE-2015-7225 Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)
Attackers can bypass two-factor authentication by replaying one-time passwords, allowing unauthorized account access if credentials are compromised.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-7225?
CVE-2015-7225 is a medium-severity vulnerability in n/a, published on 6 Sep 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-254
Which versions are affected by CVE-2015-7225?
2 open source packages ship an affected version, including devise-two-factor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
devise-two-factor RubyGems | All versions | 2.0.0 |
devise-two-factor RubyGems | All versions | 2.0.0 |
Products include Tinfoilsecurity Devise-Two-Factor.
How do I fix CVE-2015-7225?
Upgrade devise-two-factor to 2.0.0 or later.
Is CVE-2015-7225 being exploited?
There is no known exploitation of CVE-2015-7225 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2015-7225, GHSA-x489-jjwm-52g7.