Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA45648

Ruby on Rails Multiple Vulnerabilities
Secunia Advisory SA45648
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2011-08-17
Last Update 2011-08-30
   
Popularity 1,235 view
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Security Bypass
Cross Site Scripting
Manipulation of data
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
Ruby on Rails 2.3.x
Ruby on Rails 3.0.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2011-2929 CVSS available in Customer Area
CVE-2011-2930 CVSS available in Customer Area
CVE-2011-2931 CVSS available in Customer Area
CVE-2011-2932 CVSS available in Customer Area
CVE-2011-3186 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in Ruby on Rails, which can be exploited by malicious people to bypass certain security restrictions, conduct cross-site scripting and HTTP response splitting attacks, and conduct SQL injection attacks.

1) Input passed to the "quote_table_name" method is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary code.

2) An error within the template selection mechanism can be exploited to force the application to render using a restricted view.

Successful exploitation requires that the application uses "action:" within its routes.

Note: This vulnerability only affects version 3.0.0 and later.

3) The content type handling does not properly sanitise certain input before returning it to the user. This can be exploited to insert arbitrary HTTP headers, which are included in a response sent to the user.

Note: This vulnerability only affects version 2.3.x.

4) The "strip_tags" function does not properly sanitise certain input, which can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

5) The escaping mechanism does not properly handle certain Unicode sequences, which can be exploited to bypass the escaping mechanism and e.g. conduct cross-site scripting attacks.


Solution
Update to version 2.3.14 or 3.0.10.

Provided and/or discovered by
1) Reported by the vendor.

The vendor credits:
2) Jan M. Faber, supersaas
3) Brent Miller, New Relic
4) Sascha Depold
5) Akira Matsuda and Falk Köppe

Changelog
Further details available in Customer Area

Original Advisory
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6a1e473744bc389b
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/3420ac71aed312d6
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6ffc93bde0298768
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b9130749b74ea12
http://groups.google.com/group/rubyonrails-security/browse_thread/thread/56bffb5923ab1195

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Ruby on Rails Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability