{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2015-7225","published":"2017-09-06T21:29:00.957000Z","last_modified":"2026-06-17T00:32:05.073000Z","status":"Modified","cvss":{"version":"3.0","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-254"],"cpes":[{"criteria":"cpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*","part":"a","vendor":"tinfoilsecurity","product":"devise-two-factor","version_end_including":"1.1.0"}],"cpes_truncated":false,"vendors":["tinfoilsecurity"],"products":["tinfoilsecurity/devise-two-factor"],"epss":{"score":0.02058,"percentile":0.8198,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-x489-jjwm-52g7","ecosystem":"RubyGems","name":"devise-two-factor","purl":"pkg:gem/devise-two-factor","ranges":[{"introduced":"0","fixed":"2.0.0"}],"versions":["1.0.0","1.0.1","1.0.2","1.1.0"],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2015-7225/","html_en":"/en/cve/CVE-2015-7225/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-7225","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-7225"},"untrusted":{"vendor_name":"Tinfoilsecurity","product_name":"Devise-two-factor","desc_en":"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.","affected":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/06/20/4","tags":["Mailing List","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/17/2","tags":["Mailing List","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/76789","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","tags":["Third Party Advisory"]},{"url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","tags":["Third Party Advisory"]}]}}