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

Secunia Advisory SA50128

Ruby on Rails Three Cross-Site Scripting Vulnerabilities
Secunia Advisory SA50128
Secunia VIM 4.0 - Free Trial
Release Date 2012-08-10
   
Popularity 3,715 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Cross Site Scripting
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
Ruby on Rails 3.0.x
Ruby on Rails 3.1.x
Ruby on Rails 3.2.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2012-3463 CVSS score available to Secunia VIM customers
CVE-2012-3464 CVSS score available to Secunia VIM customers
CVE-2012-3465 CVSS score available to Secunia VIM customers
  

Description

Some vulnerabilities have been reported in Ruby on Rails, which can be exploited by malicious people to conduct cross-site scripting attacks.

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

2) Input passed via a "prompt" value is not properly sanitised in the "select_tag" helper method before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

3) The HTML escaping code functionality does not properly escape a single quote character, which can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are reported in versions prior to 3.0.17, prior to 3.1.8, and prior to 3.2.8.


Solution
Update to version 3.0.17, 3.1.8, or 3.2.8.

Provided and/or discovered by
1) The vendor credits Marek, Nethemba.
2, 3) Reported by the vendor.

Original Advisory
Ruby on Rails:
http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/
https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-security/FgVEtBajcTY
https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-security/fV3QUToSMSw
https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-security/kKGNeMrnmiY

Deep Links
Links available to Secunia VIM customers


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 Three Cross-Site Scripting 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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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