GHSA-x489-jjwm-52g7

    Dashboard / Vulnerabilities / GHSA-x489-jjwm-52g7

    GHSA-x489-jjwm-52g7

    Published: 28 Aug 2018Last Modified: 8 Dec 2024
    Aliases:

    Summary: Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)

    Details: Tinfoil Devise-two-factor before 2.0.0 does not strictly follow [RFC 6238 § 5.2 ](https://datatracker.ietf.org/doc/html/rfc6238#section-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.

    Affected packages

    Package

    Name: devise-two-factor

    Purl: pkg:gem/devise-two-factor

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.0

    Affected versions

    1.0.0
    1.0.1
    1.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High