Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

Ruby on Rails Multiple Vulnerabilities

-

Release Date:  2007-06-15    Last Update:  2007-11-15    Views:  15,425

Secunia Advisory SA25699

Where:

From remote

Impact:

Cross Site Scripting, Exposure of sensitive information

Solution Status:

Vendor Patch

CVE Reference(s):

Description


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

1) Input passed to the "to_json" function is not properly sanitised 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.

2) An error in ActiveResource when processing responses using the "Hash.from_xml" function can be exploited to determine the existence of files and to read the contents of arbitrary XML files.

The vulnerabilities are reported in version 1.2.3. Other versions may also be affected.

Note: Ruby on Rails allows users to pass their session ID via a URL parameter, which may be used to conduct session fixation attacks. This functionality has been disabled in version 1.2.4 and later.


Solution:
Update to version 1.2.5.

Provided and/or discovered by:
1) BCC
2) candlerb

Original Advisory:
http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
http://dev.rubyonrails.org/ticket/8371
http://dev.rubyonrails.org/ticket/8453

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 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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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