SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Ruby Vendors:   Matsumoto, Yukihiro
Ruby Directory Traversal Flaw in WEBrick Library Lets Remote Users View Files on the Target System.
SecurityTracker Alert ID:  1019562
SecurityTracker URL:  http://securitytracker.com/id/1019562
CVE Reference:   CVE-2008-1145   (Links to External Site)
Updated:  Apr 1 2008
Original Entry Date:  Mar 7 2008
Impact:   Disclosure of system information, Disclosure of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 1.8.4 and prior versions; 1.8.5-p114 and prior 1.8.5.x versions; 1.8.6-p113 and prior 1.8.6.x versions; 1.9.0-1 and prior versions
Description:   A vulnerability was reported in Ruby in the WEBrick web library. A remote user can view files on the target system.

The software does not properly validate user-supplied input. A remote user can supply a specially crafted request to view files on target system that are located outside of the document directory.

A demonstration exploit URL is provided:

http://[target]:[port]/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c/boot.ini

A remote user can also view files that match the patterns specified by the ':NondisclosureName' option on systems that have case insensitive filesystems.

The vendor was notified on February 20, 2008.

The original advisory is available at:

http://milw0rm.com/exploits/5215

Digital Security Research Group reported this vulnerability.

Impact:   A remote user can view files on the target system.
Solution:   The vendor has issued a fix (1.8.5-p115, 1.8.6-p114).

A patch is available for version 1.9 at:

ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-1-webrick-vulnerability-fix.diff

The vendor's advisory is available at:

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

Vendor URL:  www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Jul 1 2008 (Apple Issues Fix for Mac OS X) Ruby Directory Traversal Flaw in WEBrick Library Lets Remote Users View Files on the Target System.
Apple has issued a fix for Mac OS X.



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC