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 SA29232

Ruby WEBrick Information Disclosure Vulnerabilities
Secunia Advisory SA29232
DOWNLOAD CSI


DOWNLOAD PSI
Release Date 2008-03-06
Last Update 2008-04-15
   
Popularity 7,087 views
Comments 0 comments

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

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-1145 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in Ruby, which can be exploited by malicious people to disclose sensitive information.

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 display arbitrary files via directory traversal attacks of the form "..%5c..%5c".

Successful exploitation requires that the application is running on an operating system accepting the backslash character as a path separator (e.g. Windows).

2) The vulnerability is caused due to an error within the "WEBrick::HTTPServlet::FileHandler" class, and within the "WEBrick::HTTPServer.new" method when handling the ":NondisclosureName" option. This can be exploited to disclose the content of arbitrary files with a filename matching the pattern specified in the ":NondisclosureName" option.

Successful exploitation requires that the application is running on an operating system using a case insensitive filesystem (e.g. Windows or Mac OS X).

The vulnerabilities are reported in versions prior to 1.8.4, 1.8.5 versions prior to 1.8.5-p115, 1.8.6 versions prior to 1.8.6-p114, and 1.9 versions prior to and including 1.9.0-1.


Solution
Update to 1.8.5-p115 or 1.8.6-p114, or apply the vendor patch for version 1.9.0-1.
Further details available in Customer Area

Provided and/or discovered by
The vendor credits Digital Security Research.

Changelog
Further details available in Customer Area

Original Advisory
http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/

Other references
Further details available in Customer Area

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 WEBrick Information Disclosure 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