Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXg0ODktamp3bS01Mmc3
Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)
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.
Permalink: https://github.com/advisories/GHSA-x489-jjwm-52g7JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXg0ODktamp3bS01Mmc3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 6 years ago
Updated: over 1 year ago
CVSS Score: 5.3
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-x489-jjwm-52g7, CVE-2015-7225
References:
- https://nvd.nist.gov/vuln/detail/CVE-2015-7225
- https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466
- https://github.com/advisories/GHSA-x489-jjwm-52g7
- https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md
- http://www.openwall.com/lists/oss-security/2015/06/20/4
- http://www.openwall.com/lists/oss-security/2015/09/17/2
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise-two-factor/CVE-2015-7225.yml
- http://www.openwall.com/lists/oss-security/2015/09/06/2
- https://web.archive.org/web/20210122192452/https://www.securityfocus.com/bid/76789/
Blast Radius: 17.3
Affected Packages
rubygems:devise-two-factor
Dependent packages: 1Dependent repositories: 1,848
Downloads: 40,191,571 total
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.1.0
All unaffected versions: 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.2.1, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 5.0.0, 5.1.0, 6.0.0, 6.1.0