Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2008-1891

Published: 18 April 2008

Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2, when using NTFS or FAT filesystems, allows remote attackers to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded plus), (3) . (dot), (4) %2e (encoded dot), or (5) %20 (encoded space) character in the URI, possibly related to the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality and the :DocumentRoot option.

Notes

AuthorNote
jdstrand
this is only a problem if serving from a windows filesystem. This
configuration is known to be broken. From changelog addition in svn r16454:
Note: NTFS/FAT filesystem should not be published by the platforms
other than Windows. Pathname interpretation (including short
filename) is less than perfect.

Priority

Negligible

Status

Package Release Status
ruby1.8
Launchpad, Ubuntu, Debian
dapper Ignored

feisty Ignored

gutsy Ignored

hardy Ignored

upstream
Released (1.8.7.22-4)
ruby1.9
Launchpad, Ubuntu, Debian
dapper Ignored

feisty Ignored

gutsy Ignored

hardy Ignored

upstream
Released (1.9.0.2-1)