{"id":"CVE-2008-1891","state":"PUBLISHED","title":"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 usi","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.","publishedAt":"2008-04-18T22:00:00.000Z","updatedAt":"2024-08-07T08:41:00.043Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/29794","http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","https://exchange.xforce.ibmcloud.com/vulnerabilities/41824","http://secunia.com/advisories/31687","http://aluigi.altervista.org/adv/webrickcgi-adv.txt","https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html","http://www.mandriva.com/security/advisories?name=MDVSA-2008:140","http://secunia.com/advisories/30831","http://www.vupen.com/english/advisories/2008/1245/references","http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:49.659Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/1xxx/CVE-2008-1891.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-1891","state":"PUBLISHED","datePublished":"2008-04-18T22:00:00.000Z","dateUpdated":"2024-08-07T08:41:00.043Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-04-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/29794","name":"29794","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","name":"SUSE-SR:2008:017","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","name":"MDVSA-2008:141","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41824","name":"ruby-webrick-cgi-info-disclosure(41824)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/31687","name":"31687","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://aluigi.altervista.org/adv/webrickcgi-adv.txt","tags":["x_refsource_MISC"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html","name":"FEDORA-2008-5649","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:140","name":"MDVSA-2008:140","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/30831","name":"30831","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/1245/references","name":"ADV-2008-1245","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-04-15T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-1891","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"29794","refsource":"SECUNIA","url":"http://secunia.com/advisories/29794"},{"name":"SUSE-SR:2008:017","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html"},{"name":"MDVSA-2008:141","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141"},{"name":"ruby-webrick-cgi-info-disclosure(41824)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41824"},{"name":"31687","refsource":"SECUNIA","url":"http://secunia.com/advisories/31687"},{"name":"http://aluigi.altervista.org/adv/webrickcgi-adv.txt","refsource":"MISC","url":"http://aluigi.altervista.org/adv/webrickcgi-adv.txt"},{"name":"FEDORA-2008-5649","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html"},{"name":"MDVSA-2008:140","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:140"},{"name":"30831","refsource":"SECUNIA","url":"http://secunia.com/advisories/30831"},{"name":"ADV-2008-1245","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2008/1245/references"},{"name":"http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/","refsource":"CONFIRM","url":"http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/29794","name":"29794","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","name":"SUSE-SR:2008:017","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","name":"MDVSA-2008:141","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41824","name":"ruby-webrick-cgi-info-disclosure(41824)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/31687","name":"31687","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://aluigi.altervista.org/adv/webrickcgi-adv.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html","name":"FEDORA-2008-5649","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:140","name":"MDVSA-2008:140","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/30831","name":"30831","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/1245/references","name":"ADV-2008-1245","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T08:41:00.043Z"}}]}}}