the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2013-0233 (1 public exploit)

Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts.
Publish Date : 2013-04-25 Last Update Date : 2018-10-30
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Bypass a restriction or similar
CWE ID 399

- Products Affected By CVE-2013-0233

# Product Type Vendor Product Version Update Edition Language
1 OS Opensuse Opensuse 12.2 Version Details Vulnerabilities
2 Application Plataformatec Devise 1.5.0 Version Details Vulnerabilities
3 Application Plataformatec Devise 1.5.1 Version Details Vulnerabilities
4 Application Plataformatec Devise 1.5.2 Version Details Vulnerabilities
5 Application Plataformatec Devise 1.5.3 Version Details Vulnerabilities
6 Application Plataformatec Devise 2.0.0 Version Details Vulnerabilities
7 Application Plataformatec Devise 2.0.1 Version Details Vulnerabilities
8 Application Plataformatec Devise 2.0.2 Version Details Vulnerabilities
9 Application Plataformatec Devise 2.0.3 Version Details Vulnerabilities
10 Application Plataformatec Devise 2.0.4 Version Details Vulnerabilities
11 Application Plataformatec Devise 2.1.0 Version Details Vulnerabilities
12 Application Plataformatec Devise 2.1.1 Version Details Vulnerabilities
13 Application Plataformatec Devise 2.1.2 Version Details Vulnerabilities
14 Application Plataformatec Devise 2.2.0 Version Details Vulnerabilities
15 Application Plataformatec Devise 2.2.1 Version Details Vulnerabilities
16 Application Plataformatec Devise 2.2.2 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Opensuse Opensuse 1
Plataformatec Devise 15

- References For CVE-2013-0233
BID 57577 Devise CVE-2013-0233 Security Bypass Vulnerability Release Date:2013-03-04
SUSE openSUSE-SU-2013:0374
MLIST [oss-security] 20130128 Re: CVE request for 'devise' ruby gem CONFIRM

- Vulnerability Conditions

Vulnerability is valid if product versions listed below are used TOGETHER WITH(AND)

- Metasploit Modules Related To CVE-2013-0233

Ruby on Rails Devise Authentication Password Reset
The Devise authentication gem for Ruby on Rails is vulnerable to a password reset exploit leveraging type confusion. By submitting XML to rails, we can influence the type used for the reset_password_token parameter. This allows for resetting passwords of arbitrary accounts, knowing only the associated email address. This module defaults to the most common devise URIs and response values, but these may require adjustment for implementations which customize them. Affects Devise < v2.2.3, 2.1.3, 2.0.5 and 1.5.4 when backed by any database except PostgreSQL or SQLite3. Tested with v2.2.2, 2.1.2, and 2.0.4 on Rails 3.2.11. Patch applied to Rails 3.2.12 and 3.1.11 should prevent exploitation of this vulnerability, by quoting numeric values when comparing them with non numeric values.
Module type : auxiliary Rank : normal

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.