VDB

CVE-2015-7225

CVE-2015-7225 PUBLISHED CVSS 5.300000190734863 MEDIUM

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

Reported by mitre · Published September 6, 2017

devise-two-factor is fixed in 2.0.0 (RubyGems)

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 versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
devise-two-factorRubyGems2.0.0

Risk scores

CVSS 3.0
5.300000190734863
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
RubyGemsdevise-two-factor0

Timeline

  • Sep 6, 2017 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 6, 2024 CVE Updated
  • Apr 10, 2026 Security Advisory
  • Oct 12, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2015-7225
vulnetix vdb fixes CVE-2015-7225

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-7225/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›