|
Ruby on Rails Multiple Vulnerabilities
|
|
Secunia Advisory:
|
SA25699
|
|
|
Release Date:
|
2007-06-15
|
|
Last Update:
|
2007-11-15
|
|
Popularity:
|
9,256 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Cross Site Scripting Exposure of sensitive information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Ruby on Rails 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2007-3227 CVE-2007-5379 CVE-2007-5380
|
|
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
Changelog: 2007-10-18: Updated "Solution" section. Added link to "Original Advisory" section.
2007-10-24: Added vulnerability #2 to "Description" section and added link to "Original Advisory" section. Added CVE reference.
2007-11-15: Added CVE reference and note about potential session fixation risk.
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
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|