Advisory

GHSA-x489-jjwm-52g7

Also known as: CVE-2015-7225

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 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-08-28 22:34 UTC
Modified
2024-12-08 05:44 UTC

Affected packages and fixes

devise-two-factor

RubyGems · All systems

Affected

  • introduced 0, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences