Ruby on Rails Input Validation Flaws Permit Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1027366 |
|
SecurityTracker URL: http://securitytracker.com/id/1027366
|
|
CVE Reference:
CVE-2012-3463, CVE-2012-3464, CVE-2012-3465
(Links to External Site)
|
Date: Aug 10 2012
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): prior to 3.2.8
|
Description:
Several vulnerabilities were reported in Ruby on Rails. A remote user can conduct cross-site scripting attacks.
Several scripts do not properly filter HTML code from user-supplied input before displaying the input. A remote user can cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Ruby on Rails software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
The select_tag helper method (when a "prompt" is supplied) is affected [CVE-2012-3463].
The HTML escaping code is affected [CVE-2012-3464]. This may affect all applications.
The strip_tags helper is affected [CVE-2012-3465].
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Ruby on Rails software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Solution:
The vendor has issued a fix (3.0.17, 3.1.8, 3.2.8).
The vendor's advisory is available at:
http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/
|
Vendor URL: weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Fri, 10 Aug 2012 20:41:08 +0000
Subject: Ruby on Rails
|
http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/
CVE-2012-3463 Ruby on Rails Potential XSS Vulnerability in select_tag prompt
CVE-2012-3464 Potential XSS Vulnerability in Ruby on Rails
CVE-2012-3465 XSS Vulnerability in strip_tags
|
|