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 SA29794

Ruby Multiple Vulnerabilities
Secunia Advisory SA29794
Secunia VIM 4.0 - Free Trial
Release Date 2008-04-16
Last Update 2008-06-23
   
Popularity 8,934 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Exposure of system information
Exposure of sensitive information
DoS
System access
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
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Software:
Ruby 1.8.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2008-1891 CVSS score available to Secunia VIM customers
CVE-2008-2662 CVSS score available to Secunia VIM customers
CVE-2008-2663 CVSS score available to Secunia VIM customers
CVE-2008-2664 CVSS score available to Secunia VIM customers
CVE-2008-2725 CVSS score available to Secunia VIM customers
CVE-2008-2726 CVSS score available to Secunia VIM customers
  

Description

Some vulnerabilities have been reported in Ruby, which can be exploited by malicious people to disclose sensitive information, cause a DoS (Denial of Service), or potentially compromise a vulnerable system.

1) Input passed via the URL to applications using "WEBrick::HTTPServlet::FileHandler" or "WEBrick::HTTPServer.new" with the ":DocumentRoot" option is not properly sanitised before being used. This can be exploited to disclose the content of files via a URL with certain characters appended (e.g. "+", "%2b", ".", "%2e", and "%20").

This is related to:
SA29232

Successful exploitation requires that a certain file system is used, e.g. NTFS or FAT32.

2) Multiple integer overflow errors exist within the "ary_new()", "rb_ary_initialize()", "rb_ary_store()", "rb_ary_times()", and "rb_ary_splice()" functions in array.c. These can potentially be exploited to cause buffer overflows via overly large arguments passed to the affected functions.

3) An error when allocating memory via an improper call to "alloca()" in "rb_str_buf_append()" can be exploited to corrupt memory.

Successful exploitation of the vulnerabilities may allow execution of arbitrary code.

The vulnerabilities are reported in the following versions:
* 1.8.4 and prior
* 1.8.5-p230 and prior
* 1.8.6-p229 and prior
* 1.8.7-p21 and prior


Solution
Update to a fixed version.
Further details available to Secunia VIM customers

Provided and/or discovered by
1) Luigi Auriemma
2, 3) The vendor credits Drew Yao of Apple Product Security.

Changelog
Further details available to Secunia VIM customers

Original Advisory
1) http://aluigi.altervista.org/adv/webrickcgi-adv.txt
2, 3) http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/

Other references
Further details available to Secunia VIM customers

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 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-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability