Skip to content
OpenAdvisories
Medium · 5.3 CVE-2015-7225 EUVD-2018-0428GHSA-x489-jjwm-52g7

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

Published Sep 6, 2017 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ruby-devise-two-factor 2.0.0-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems devise-two-factor < 2.0.0 2.0.0 GHSA-x489-jjwm-52g7

References