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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Rails Vendors:   rubyforge.org
Ruby on Rails Input Validation Flaw in Translate Helper Method Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1026342
SecurityTracker URL:  http://securitytracker.com/id/1026342
CVE Reference:   CVE-2011-4319   (Links to External Site)
Updated:  Aug 24 2012
Original Entry Date:  Nov 18 2011
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): 3.0.0 - 3.0.10; 3.1.0, 3.1.1; also 2.3.X when used with the rails_xss plugin
Description:   A vulnerability was reported in Ruby on Rails. A remote user can conduct cross-site scripting attacks.

The translate helper method does 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 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 specific impact depends on the applications that use the translate() function.

Sergey Nartimov reported this vulnerability.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the 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.11, 3.1.2).

The vendor's advisory is available at:

http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5

Vendor URL:  rubyonrails.org/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 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