{
    "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"
            }
        ]
    }
}