CVE-2015-7225
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.0.0-1 |
| debian | bullseye | fixed | 2.0.0-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | devise-two-factor | <>= 2.0.0 | >= 2.0.0 |
| RubyGems | devise-two-factor | <2.0.0 | 2.0.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tinfoilsecurity | devise-two-factor | {"endIncluding":"1.1.0"} | |
References
- http://www.openwall.com/lists/oss-security/2015/09/06/2
- http://www.openwall.com/lists/oss-security/2015/06/20/4
- http://www.openwall.com/lists/oss-security/2015/09/17/2
- http://www.securityfocus.com/bid/76789
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466
- https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md
- https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608
- https://nvd.nist.gov/vuln/detail/CVE-2015-7225
- https://github.com/advisories/GHSA-x489-jjwm-52g7
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise-two-factor/CVE-2015-7225.yml
- https://github.com/tinfoil/devise-two-factor
- https://web.archive.org/web/20210122192452/https://www.securityfocus.com/bid/76789
- https://security-tracker.debian.org/tracker/CVE-2015-7225
CWEs
CWE-254
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.