CVE-2008-1891 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 files...
MediumCVSS 5.0
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | <= 1.9.0 | No fix listed |
| ruby-lang ruby | = 1.8.5 | No fix listed |
| ruby-lang ruby | = 1.8.6 | No fix listed |
References
- aluigi.altervista.org
- SUSE-SR:2008:017 vendor-advisory
- 29794 third-party-advisory vendor-advisory
- 30831 third-party-advisory
- 31687 third-party-advisory
- MDVSA-2008:140 vendor-advisory
- MDVSA-2008:141 vendor-advisory
- www.ruby-lang.org
- ADV-2008-1245 vdb-entry
- ruby-webrick-cgi-info-disclosure(41824) vdb-entry
- FEDORA-2008-5649 vendor-advisory