SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Ruby Vendors:   Matsumoto, Yukihiro
Ruby on Rails Bugs Permit Denial of Service, Cross-Site Scripting, and Information Disclosure Attacks
SecurityTracker Alert ID:  1028321
SecurityTracker URL:  http://securitytracker.com/id/1028321
CVE Reference:   CVE-2013-1854, CVE-2013-1855, CVE-2013-1856, CVE-2013-1857   (Links to External Site)
Date:  Mar 20 2013
Impact:   Denial of service via network, Disclosure of authentication information, Disclosure of system 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 2.3.18, 3.1.12, 3.2.13
Description:   Several vulnerabilities were reported in Ruby on Rails. A remote user can cause denial of service conditions. A remote user can conduct cross-site scripting attacks. A remote user can access files on the target system.

A remote user can exploit a flaw in the Active Record component in the processing of certain queries that cause hash keys to be converted to symbols [CVE-2013-1854]. Version 3.0.x is not affected. Ben Murphy reported this vulnerability.

The 'sanitize_css' method in 'lib/action_controller/vendor/html-scanner/html/sanitizer.rb' in the Action Pack component does not properly filter HTML code from user-supplied input [CVE-2013-1855]. A remote user can create specially crafted Cascading Style Sheets (CSS) token sequences that, when loaded by a target user, will 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. Charlie Somerville reported this vulnerability.

A remote user can create specially crafted XML data to exploit a flaw in the JRuby ActiveSupport::XmlMini_JDOM backend in 'lib/active_support/xml_mini/jdom.rb' in the Active Support component and cause the XML parser to read files on the target system or consume excessive resources on the target system [CVE-2013-1856]. Versions 3.0.0 and later are affected. Ben Murphy reported this vulnerability.

The sanitize helper in 'lib/action_controller/vendor/html-scanner/html/sanitizer.rb' in the Action Pack component does not properly filter encoded colon (':') characters in URLs [CVE-2013-1857]. 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. Alan Jenkins reported this vulnerability.

Impact:   A remote user can cause denial of service conditions.

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.

A remote user can access files on the target system.

Solution:   The vendor has issued a fix (2.3.18, 3.1.12, 3.2.13).

The vendor's advisory is available at:

http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/

Vendor URL:  weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/ (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Oct 23 2013 (Apple Issues Fix for OS X Server) Ruby on Rails Bugs Permit Denial of Service, Cross-Site Scripting, and Information Disclosure Attacks
Apple has issued a fix for OS X Server.



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC