National Cyber Awareness System
Vulnerability Summary for CVE-2011-2197
Original release date:06/30/2011
Last revised:07/06/2012
Source:
US-CERT/NIST
Overview
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.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
2.9
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable; Victim must voluntarily interact with attack mechanism
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type:Allows unauthorized modification
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-rails-applications
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110613 Re: CVE Request: Ruby on Rails 3/rails_xss XSS
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110609 CVE Request: Ruby on Rails 3/rails_xss XSS
Type: Patch Information
External Source: MLIST
Name: [rubyonrails-security] 20110607 Potential XSS Vulnerability in Ruby on Rails Applications
Type: Patch Information
External Source: SECUNIA
Name: 44789
Type: Advisory
External Source: FEDORA
Name: FEDORA-2011-8494
External Source: FEDORA
Name: FEDORA-2011-8580
Technical Details
- Cross-Site Scripting (XSS) (CWE-79)