CVE-2015-7225
MEDIUM5.3EPSS 0.65%Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)
Published: 8/28/2018Modified: 4/28/2026
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.
Affected packages (2)
- Debian/ruby-devise-two-factorfrom 0, < 2.0.0-1
- RubyGems/devise-two-factorfrom 0, < 2.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (12)
- ADVISORYhttps://github.com/advisories/GHSA-x489-jjwm-52g7
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-7225
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-7225
- PATCHhttps://github.com/tinfoil/devise-two-factor
- WEBhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise-two-factor/CVE-2015-7225.yml
- WEBhttps://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md
- WEBhttps://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608
- WEBhttps://web.archive.org/web/20210122192452/https://www.securityfocus.com/bid/76789
- WEBhttp://www.openwall.com/lists/oss-security/2015/06/20/4
- WEBhttp://www.openwall.com/lists/oss-security/2015/09/06/2
- WEBhttp://www.openwall.com/lists/oss-security/2015/09/17/2