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.
References
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 00:45
Type | Values Removed | Values Added |
---|---|---|
References | () http://aluigi.altervista.org/adv/webrickcgi-adv.txt - | |
References | () http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html - | |
References | () http://secunia.com/advisories/29794 - Vendor Advisory | |
References | () http://secunia.com/advisories/30831 - | |
References | () http://secunia.com/advisories/31687 - | |
References | () http://www.mandriva.com/security/advisories?name=MDVSA-2008:140 - | |
References | () http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 - | |
References | () http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ - | |
References | () http://www.vupen.com/english/advisories/2008/1245/references - | |
References | () https://exchange.xforce.ibmcloud.com/vulnerabilities/41824 - | |
References | () https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html - |
Information
Published : 2008-04-18 22:05
Updated : 2024-11-21 00:45
NVD link : CVE-2008-1891
Mitre link : CVE-2008-1891
CVE.ORG link : CVE-2008-1891
JSON object : View
Products Affected
ruby-lang
- ruby
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')