{"id":"CVE-2015-7225","state":"PUBLISHED","title":"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 remot","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.","publishedAt":"2017-09-06T21:00:00.000Z","updatedAt":"2024-08-06T07:43:45.764Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","http://www.openwall.com/lists/oss-security/2015/09/17/2","http://www.openwall.com/lists/oss-security/2015/06/20/4","http://www.securityfocus.com/bid/76789","https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:15.171Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/7xxx/CVE-2015-7225.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-7225","state":"PUBLISHED","datePublished":"2017-09-06T21:00:00.000Z","dateUpdated":"2024-08-06T07:43:45.764Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2015-09-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/17/2","name":"[oss-security] 20150917 Re: CVE Request: TOTP Replay Attack in Ruby library","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/20/4","name":"[oss-sercurity] 20150620 CVE Request: MITM & Shoulder-surfing vuln in Ruby OTP/HOTP/TOTP library \"ROPT\"","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/76789","name":"76789","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-09-06T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2015-06-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-7225","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","refsource":"CONFIRM","url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md"},{"name":"[oss-security] 20150917 Re: CVE Request: TOTP Replay Attack in Ruby library","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2015/09/17/2"},{"name":"[oss-sercurity] 20150620 CVE Request: MITM & Shoulder-surfing vuln in Ruby OTP/HOTP/TOTP library \"ROPT\"","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2015/06/20/4"},{"name":"76789","refsource":"BID","url":"http://www.securityfocus.com/bid/76789"},{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","refsource":"MISC","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466"},{"name":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","refsource":"CONFIRM","url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/17/2","name":"[oss-security] 20150917 Re: CVE Request: TOTP Replay Attack in Ruby library","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/20/4","name":"[oss-sercurity] 20150620 CVE Request: MITM & Shoulder-surfing vuln in Ruby OTP/HOTP/TOTP library \"ROPT\"","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/76789","name":"76789","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T07:43:45.764Z"}}]}}}