GitHub Advisoryadvisory · RubyGems
GHSA-x489-jjwm-52g7 Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)
MEDIUM
Official page ↗
- Aliases
- CVE-2015-7225
- Ecosystem
- RubyGems
- Packages
- devise-two-factor
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Reviewed
- 2020-06-16
Affected packages
• RubyGems devise-two-factor: < 2.0.0 → fixed in 2.0.0
Description
Tinfoil Devise-two-factor before 2.0.0 does not strictly follow RFC 6238 § 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.
Related
Alias · CVE (1)
- CVE-2015-7225 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… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7225 advisory
- https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608 web
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466 web
- https://github.com/advisories/GHSA-x489-jjwm-52g7 advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise-two-factor/CVE-2015-7225.yml web
- https://github.com/tinfoil/devise-two-factor package
- https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md web
- https://web.archive.org/web/20210122192452/https://www.securityfocus.com/bid/76789 web
- http://www.openwall.com/lists/oss-security/2015/06/20/4 web
- http://www.openwall.com/lists/oss-security/2015/09/06/2 web
- http://www.openwall.com/lists/oss-security/2015/09/17/2 web