CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2013-3221

The Active Record component in Ruby on Rails 2.3.x, 3.0.x, 3.1.x, and 3.2.x does not ensure that the declared data type of a database column is used during comparisons of input values to stored values in that column, which makes it easier for remote attackers to conduct data-type injection attacks against Ruby on Rails applications via a crafted value, as demonstrated by unintended interaction between the "typed XML" feature and a MySQL database.
Publish Date : 2013-04-21 Last Update Date : 2013-04-25
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.4
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 None (There is no impact to the availability of the system.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Sql Injection
CWE ID 20

- Products Affected By CVE-2013-3221

# Product Type Vendor Product Version Update Edition Language
1 Application Rubyonrails Ruby On Rails 2.3.0 Version Details Vulnerabilities
2 Application Rubyonrails Ruby On Rails 2.3.1 Version Details Vulnerabilities
3 Application Rubyonrails Ruby On Rails 2.3.2 Version Details Vulnerabilities
4 Application Rubyonrails Ruby On Rails 2.3.3 Version Details Vulnerabilities
5 Application Rubyonrails Ruby On Rails 2.3.4 Version Details Vulnerabilities
6 Application Rubyonrails Ruby On Rails 2.3.9 Version Details Vulnerabilities
7 Application Rubyonrails Ruby On Rails 2.3.10 Version Details Vulnerabilities
8 Application Rubyonrails Ruby On Rails 2.3.11 Version Details Vulnerabilities
9 Application Rubyonrails Ruby On Rails 2.3.12 Version Details Vulnerabilities
10 Application Rubyonrails Ruby On Rails 2.3.13 Version Details Vulnerabilities
11 Application Rubyonrails Ruby On Rails 2.3.14 Version Details Vulnerabilities
12 Application Rubyonrails Ruby On Rails 2.3.15 Version Details Vulnerabilities
13 Application Rubyonrails Ruby On Rails 2.3.16 Version Details Vulnerabilities
14 Application Rubyonrails Ruby On Rails 3.0.0 RC Version Details Vulnerabilities
15 Application Rubyonrails Ruby On Rails 3.0.0 Beta3 Version Details Vulnerabilities
16 Application Rubyonrails Ruby On Rails 3.0.0 Beta4 Version Details Vulnerabilities
17 Application Rubyonrails Ruby On Rails 3.0.0 Beta2 Version Details Vulnerabilities
18 Application Rubyonrails Ruby On Rails 3.0.0 RC2 Version Details Vulnerabilities
19 Application Rubyonrails Ruby On Rails 3.0.0 Beta Version Details Vulnerabilities
20 Application Rubyonrails Ruby On Rails 3.0.0 Version Details Vulnerabilities
21 Application Rubyonrails Ruby On Rails 3.0.1 PRE Version Details Vulnerabilities
22 Application Rubyonrails Ruby On Rails 3.0.1 Version Details Vulnerabilities
23 Application Rubyonrails Ruby On Rails 3.0.2 PRE Version Details Vulnerabilities
24 Application Rubyonrails Ruby On Rails 3.0.2 Version Details Vulnerabilities
25 Application Rubyonrails Ruby On Rails 3.0.3 Version Details Vulnerabilities
26 Application Rubyonrails Ruby On Rails 3.0.4 RC Version Details Vulnerabilities
27 Application Rubyonrails Ruby On Rails 3.0.4 RC1 Version Details Vulnerabilities
28 Application Rubyonrails Ruby On Rails 3.0.4 Version Details Vulnerabilities
29 Application Rubyonrails Ruby On Rails 3.0.5 Version Details Vulnerabilities
30 Application Rubyonrails Ruby On Rails 3.0.5 RC1 Version Details Vulnerabilities
31 Application Rubyonrails Ruby On Rails 3.0.6 RC1 Version Details Vulnerabilities
32 Application Rubyonrails Ruby On Rails 3.0.6 RC2 Version Details Vulnerabilities
33 Application Rubyonrails Ruby On Rails 3.0.6 Version Details Vulnerabilities
34 Application Rubyonrails Ruby On Rails 3.0.7 RC1 Version Details Vulnerabilities
35 Application Rubyonrails Ruby On Rails 3.0.7 RC2 Version Details Vulnerabilities
36 Application Rubyonrails Ruby On Rails 3.0.7 Version Details Vulnerabilities
37 Application Rubyonrails Ruby On Rails 3.0.8 RC1 Version Details Vulnerabilities
38 Application Rubyonrails Ruby On Rails 3.0.8 RC4 Version Details Vulnerabilities
39 Application Rubyonrails Ruby On Rails 3.0.8 RC2 Version Details Vulnerabilities
40 Application Rubyonrails Ruby On Rails 3.0.8 RC3 Version Details Vulnerabilities
41 Application Rubyonrails Ruby On Rails 3.0.8 Version Details Vulnerabilities
42 Application Rubyonrails Ruby On Rails 3.0.9 RC5 Version Details Vulnerabilities
43 Application Rubyonrails Ruby On Rails 3.0.9 RC1 Version Details Vulnerabilities
44 Application Rubyonrails Ruby On Rails 3.0.9 RC4 Version Details Vulnerabilities
45 Application Rubyonrails Ruby On Rails 3.0.9 RC2 Version Details Vulnerabilities
46 Application Rubyonrails Ruby On Rails 3.0.9 Version Details Vulnerabilities
47 Application Rubyonrails Ruby On Rails 3.0.9 RC3 Version Details Vulnerabilities
48 Application Rubyonrails Ruby On Rails 3.0.10 RC1 Version Details Vulnerabilities
49 Application Rubyonrails Ruby On Rails 3.0.10 Version Details Vulnerabilities
50 Application Rubyonrails Ruby On Rails 3.0.11 Version Details Vulnerabilities
51 Application Rubyonrails Ruby On Rails 3.0.12 Version Details Vulnerabilities
52 Application Rubyonrails Ruby On Rails 3.0.12 RC1 Version Details Vulnerabilities
53 Application Rubyonrails Ruby On Rails 3.0.13 RC1 Version Details Vulnerabilities
54 Application Rubyonrails Ruby On Rails 3.0.13 Version Details Vulnerabilities
55 Application Rubyonrails Ruby On Rails 3.0.14 Version Details Vulnerabilities
56 Application Rubyonrails Ruby On Rails 3.0.16 Version Details Vulnerabilities
57 Application Rubyonrails Ruby On Rails 3.0.17 Version Details Vulnerabilities
58 Application Rubyonrails Ruby On Rails 3.0.18 Version Details Vulnerabilities
59 Application Rubyonrails Ruby On Rails 3.0.19 Version Details Vulnerabilities
60 Application Rubyonrails Ruby On Rails 3.0.20 Version Details Vulnerabilities
61 Application Rubyonrails Ruby On Rails 3.1.0 RC5 Version Details Vulnerabilities
62 Application Rubyonrails Ruby On Rails 3.1.0 RC3 Version Details Vulnerabilities
63 Application Rubyonrails Ruby On Rails 3.1.0 RC8 Version Details Vulnerabilities
64 Application Rubyonrails Ruby On Rails 3.1.0 RC7 Version Details Vulnerabilities
65 Application Rubyonrails Ruby On Rails 3.1.0 Version Details Vulnerabilities
66 Application Rubyonrails Ruby On Rails 3.1.0 RC2 Version Details Vulnerabilities
67 Application Rubyonrails Ruby On Rails 3.1.0 Beta1 Version Details Vulnerabilities
68 Application Rubyonrails Ruby On Rails 3.1.0 RC1 Version Details Vulnerabilities
69 Application Rubyonrails Ruby On Rails 3.1.0 RC6 Version Details Vulnerabilities
70 Application Rubyonrails Ruby On Rails 3.1.0 RC4 Version Details Vulnerabilities
71 Application Rubyonrails Ruby On Rails 3.1.1 Version Details Vulnerabilities
72 Application Rubyonrails Ruby On Rails 3.1.1 RC3 Version Details Vulnerabilities
73 Application Rubyonrails Ruby On Rails 3.1.1 RC2 Version Details Vulnerabilities
74 Application Rubyonrails Ruby On Rails 3.1.1 RC1 Version Details Vulnerabilities
75 Application Rubyonrails Ruby On Rails 3.1.2 RC2 Version Details Vulnerabilities
76 Application Rubyonrails Ruby On Rails 3.1.2 Version Details Vulnerabilities
77 Application Rubyonrails Ruby On Rails 3.1.2 RC1 Version Details Vulnerabilities
78 Application Rubyonrails Ruby On Rails 3.1.3 Version Details Vulnerabilities
79 Application Rubyonrails Ruby On Rails 3.1.4 RC1 Version Details Vulnerabilities
80 Application Rubyonrails Ruby On Rails 3.1.4 Version Details Vulnerabilities
81 Application Rubyonrails Ruby On Rails 3.1.5 Version Details Vulnerabilities
82 Application Rubyonrails Ruby On Rails 3.1.5 RC1 Version Details Vulnerabilities
83 Application Rubyonrails Ruby On Rails 3.1.6 Version Details Vulnerabilities
84 Application Rubyonrails Ruby On Rails 3.1.7 Version Details Vulnerabilities
85 Application Rubyonrails Ruby On Rails 3.1.8 Version Details Vulnerabilities
86 Application Rubyonrails Ruby On Rails 3.1.9 Version Details Vulnerabilities
87 Application Rubyonrails Ruby On Rails 3.1.10 Version Details Vulnerabilities
88 Application Rubyonrails Ruby On Rails 3.2.0 Version Details Vulnerabilities
89 Application Rubyonrails Ruby On Rails 3.2.0 RC1 Version Details Vulnerabilities
90 Application Rubyonrails Ruby On Rails 3.2.0 RC2 Version Details Vulnerabilities
91 Application Rubyonrails Ruby On Rails 3.2.1 Version Details Vulnerabilities
92 Application Rubyonrails Ruby On Rails 3.2.2 RC1 Version Details Vulnerabilities
93 Application Rubyonrails Ruby On Rails 3.2.2 Version Details Vulnerabilities
94 Application Rubyonrails Ruby On Rails 3.2.3 RC2 Version Details Vulnerabilities
95 Application Rubyonrails Ruby On Rails 3.2.3 Version Details Vulnerabilities
96 Application Rubyonrails Ruby On Rails 3.2.3 RC1 Version Details Vulnerabilities
97 Application Rubyonrails Ruby On Rails 3.2.4 RC1 Version Details Vulnerabilities
98 Application Rubyonrails Ruby On Rails 3.2.4 Version Details Vulnerabilities
99 Application Rubyonrails Ruby On Rails 3.2.5 Version Details Vulnerabilities
100 Application Rubyonrails Ruby On Rails 3.2.6 Version Details Vulnerabilities
101 Application Rubyonrails Ruby On Rails 3.2.7 Version Details Vulnerabilities
102 Application Rubyonrails Ruby On Rails 3.2.8 Version Details Vulnerabilities
103 Application Rubyonrails Ruby On Rails 3.2.9 Version Details Vulnerabilities
104 Application Rubyonrails Ruby On Rails 3.2.10 Version Details Vulnerabilities
105 Application Rubyonrails Ruby On Rails 3.2.11 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Rubyonrails Ruby On Rails 105

- References For CVE-2013-3221

http://openwall.com/lists/oss-security/2013/02/06/7
MLIST [oss-security] 20130207 Potential Query Manipulation with Common Rails Practises
http://openwall.com/lists/oss-security/2013/04/24/7
MLIST [oss-security] 20130424 CVE-2013-3221 can also relate to Microsoft SQL Server and IBM DB2
http://pl.reddit.com/r/netsec/comments/17yajp/mysql_madness_and_rails/
http://www.phenoelit.org/blog/archives/2013/02/index.html
https://gist.github.com/dakull/5442275 CONFIRM
https://groups.google.com/group/rubyonrails-security/msg/1f3bc0b88a60c1ce?dmode=source&output=gplain
MLIST [rubyonrails-security] 20130207 Potential Query Manipulation with Common Rails Practises

- Metasploit Modules Related To CVE-2013-3221

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


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.