{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2015-7225","id":"CVE-2015-7225","title":"Tinfoil Devise-two-factor does not \"burn\" a successfully validated one-time password (OTP)","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,","descriptionLong":"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.","published":"2017-09-06T21:00:00.000Z","updated":"2026-06-17T00:32:05.073Z","reserved":"2015-09-17T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:P/I:N/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"devise-two-factor","purl":"pkg:gem/devise-two-factor","ranges":["<2.0.0"],"fixed":["2.0.0"],"advisory":"GHSA-x489-jjwm-52g7"}],"cwes":["CWE-254"],"aliases":["GHSA-x489-jjwm-52g7"],"references":[{"url":"https://github.com/tinfoil/devise-two-factor/blob/master/UPGRADING.md","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/17/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","VDB Entry","advisory","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/20/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","VDB Entry","advisory","article","web"]},{"url":"http://www.securityfocus.com/bid/76789","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798466","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"https://github.com/tinfoil/devise-two-factor/issues/45#issuecomment-139335608","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7225","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x489-jjwm-52g7","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise-two-factor/CVE-2015-7225.yml","tags":["web"]},{"url":"https://github.com/tinfoil/devise-two-factor","tags":["package"]},{"url":"https://web.archive.org/web/20210122192452/https://www.securityfocus.com/bid/76789","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2015/09/06/2","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02058,"epssPercentile":0.81689,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2015-7225","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7225","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2015-7225","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x489-jjwm-52g7","ok":true,"note":"GHSA-x489-jjwm-52g7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2015-7225","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}