CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2011-2197

The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.
Publish Date : 2011-06-30 Last Update Date : 2019-08-08
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
4.3
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
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 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) Cross Site Scripting
CWE ID 79

- Products Affected By CVE-2011-2197

# Product Type Vendor Product Version Update Edition Language
1 Application Rubyonrails Rails 2.0.0 RC2 * * Version Details Vulnerabilities
2 Application Rubyonrails Rails 2.0.0 * * * Version Details Vulnerabilities
3 Application Rubyonrails Rails 2.0.0 RC1 * * Version Details Vulnerabilities
4 Application Rubyonrails Rails 2.0.1 * * * Version Details Vulnerabilities
5 Application Rubyonrails Rails 2.0.2 * * * Version Details Vulnerabilities
6 Application Rubyonrails Rails 2.0.4 * * * Version Details Vulnerabilities
7 Application Rubyonrails Rails 2.1.0 * * * Version Details Vulnerabilities
8 Application Rubyonrails Rails 2.1.1 * * * Version Details Vulnerabilities
9 Application Rubyonrails Rails 2.1.2 * * * Version Details Vulnerabilities
10 Application Rubyonrails Rails 2.2.0 * * * Version Details Vulnerabilities
11 Application Rubyonrails Rails 2.2.1 * * * Version Details Vulnerabilities
12 Application Rubyonrails Rails 2.2.2 * * * Version Details Vulnerabilities
13 Application Rubyonrails Rails 2.3.2 * * * Version Details Vulnerabilities
14 Application Rubyonrails Rails 2.3.3 * * * Version Details Vulnerabilities
15 Application Rubyonrails Rails 2.3.4 * * * Version Details Vulnerabilities
16 Application Rubyonrails Rails 2.3.9 * * * Version Details Vulnerabilities
17 Application Rubyonrails Rails 2.3.10 * * * Version Details Vulnerabilities
18 Application Rubyonrails Rails 2.3.11 * * * Version Details Vulnerabilities
19 Application Rubyonrails Rails 3.0.0 * * * Version Details Vulnerabilities
20 Application Rubyonrails Rails 3.0.0 RC * * Version Details Vulnerabilities
21 Application Rubyonrails Rails 3.0.0 Beta * * Version Details Vulnerabilities
22 Application Rubyonrails Rails 3.0.0 RC2 * * Version Details Vulnerabilities
23 Application Rubyonrails Rails 3.0.0 Beta2 * * Version Details Vulnerabilities
24 Application Rubyonrails Rails 3.0.0 Beta3 * * Version Details Vulnerabilities
25 Application Rubyonrails Rails 3.0.0 Beta4 * * Version Details Vulnerabilities
26 Application Rubyonrails Rails 3.0.1 * * * Version Details Vulnerabilities
27 Application Rubyonrails Rails 3.0.1 PRE * * Version Details Vulnerabilities
28 Application Rubyonrails Rails 3.0.2 * * * Version Details Vulnerabilities
29 Application Rubyonrails Rails 3.0.2 PRE * * Version Details Vulnerabilities
30 Application Rubyonrails Rails 3.0.3 * * * Version Details Vulnerabilities
31 Application Rubyonrails Rails 3.0.4 RC1 * * Version Details Vulnerabilities
32 Application Rubyonrails Rails 3.0.5 RC1 * * Version Details Vulnerabilities
33 Application Rubyonrails Rails 3.0.5 * * * Version Details Vulnerabilities
34 Application Rubyonrails Rails 3.0.6 RC1 * * Version Details Vulnerabilities
35 Application Rubyonrails Rails 3.0.6 RC2 * * Version Details Vulnerabilities
36 Application Rubyonrails Rails 3.0.6 * * * Version Details Vulnerabilities
37 Application Rubyonrails Rails 3.0.7 RC2 * * Version Details Vulnerabilities
38 Application Rubyonrails Rails 3.0.7 * * * Version Details Vulnerabilities
39 Application Rubyonrails Rails 3.0.7 RC1 * * Version Details Vulnerabilities
40 Application Rubyonrails Rails 3.0.8 RC3 * * Version Details Vulnerabilities
41 Application Rubyonrails Rails 3.0.8 RC2 * * Version Details Vulnerabilities
42 Application Rubyonrails Rails 3.0.8 RC4 * * Version Details Vulnerabilities
43 Application Rubyonrails Rails 3.0.8 RC1 * * Version Details Vulnerabilities
44 Application Rubyonrails Rails 3.1.0 * * * Version Details Vulnerabilities
45 Application Rubyonrails Rails 3.1.0 Beta1 * * Version Details Vulnerabilities
46 Application Rubyonrails Rails 3.1.0 RC1 * * Version Details Vulnerabilities
47 Application Rubyonrails Ruby On Rails 3.0.4 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Rubyonrails Rails 46
Rubyonrails Ruby On Rails 1

- References For CVE-2011-2197

http://lists.fedoraproject.org/pipermail/package-announce/2011-June/062090.html
FEDORA FEDORA-2011-8494
http://openwall.com/lists/oss-security/2011/06/13/9
MLIST [oss-security] 20110613 Re: CVE Request: Ruby on Rails 3/rails_xss XSS
http://secunia.com/advisories/44789
SECUNIA 44789
http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062514.html
FEDORA FEDORA-2011-8580
http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-rails-applications CONFIRM
http://groups.google.com/group/rubyonrails-security/msg/663b600d4471e0d4?dmode=source&output=gplain
MLIST [rubyonrails-security] 20110607 Potential XSS Vulnerability in Ruby on Rails Applications
http://openwall.com/lists/oss-security/2011/06/09/2
MLIST [oss-security] 20110609 CVE Request: Ruby on Rails 3/rails_xss XSS

- Metasploit Modules Related To CVE-2011-2197

There are not any metasploit modules related to this CVE entry (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.