{"id":"CVE-2015-7225","sourceIdentifier":"cve@mitre.org","published":"2017-09-06T21:29:00.957","lastModified":"2026-06-17T00:32:05.073","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"Tinfoil Devise-two-factor, en versiones anteriores a la 2.0.0, no sigue de manera estricta la sección 5.2 de la norma RFC 6238 y no \"consume\" una contraseña de un solo uso (también llamada OTP) correctamente validada. Esto permite que atacantes remotos o que se encuentren físicamente cerca inicien sesión como un usuario utilizando sus credenciales de acceso. Esto se llevaría a cabo realizando un ataque Man-in-the-Middle (MitM) entre el proveedor y el verificador u observando físicamente (lo que se conoce como shoulder surfing) y repitiendo la contraseña OTP en el intervalo de tiempo actual."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:N/A:N","baseScore":3.5,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-254"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*","versionEndIncluding":"1.1.0","matchCriteriaId":"9796BE8B-A754-4A3A-9B61-C40420C0E53A"}]}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/06/20/4","source":"cve@mitre.org","tags":["Mailing List","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/17/2","source":"cve@mitre.org","tags":["Mailing List","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/76789","source":"cve@mitre.org","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/20/4","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/17/2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/76789","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}