{"id":"CVE-2008-1145","state":"PUBLISHED","title":"Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\\) path separato","description":"Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\\) path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1) \"..%5c\" (encoded backslash) sequences or (2) filenames that match patterns in the :NondisclosureName option.","publishedAt":"2008-03-04T23:00:00.000Z","updatedAt":"2024-08-07T08:08:57.740Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123","http://support.apple.com/kb/HT2163","http://secunia.com/advisories/29357","http://www.securityfocus.com/archive/1/490056/100/0/threaded","http://www.kb.cert.org/vuls/id/404515","http://www.securityfocus.com/bid/28123","http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","http://www.securityfocus.com/archive/1/489205/100/0/threaded","http://www.vupen.com/english/advisories/2008/1981/references","https://www.exploit-db.com/exploits/5215","http://secunia.com/advisories/29232","https://exchange.xforce.ibmcloud.com/vulnerabilities/41010","http://secunia.com/advisories/31687","http://www.securityfocus.com/archive/1/489218/100/0/threaded","https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html","http://www.redhat.com/support/errata/RHSA-2008-0897.html","http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html","http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","http://www.vupen.com/english/advisories/2008/0787","http://secunia.com/advisories/30802","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937","http://www.securitytracker.com/id?1019562","https://issues.rpath.com/browse/RPL-2338","http://secunia.com/advisories/32371","http://www.mandriva.com/security/advisories?name=MDVSA-2008:142","http://secunia.com/advisories/29536","https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html","http://wiki.rpath.com/Advisories:rPSA-2008-0123"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:49.659Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/1xxx/CVE-2008-1145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-1145","state":"PUBLISHED","datePublished":"2008-03-04T23:00:00.000Z","dateUpdated":"2024-08-07T08:08:57.740Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2008-03-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\\) path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1) \"..%5c\" (encoded backslash) sequences or (2) filenames that match patterns in the :NondisclosureName option."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"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://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123","tags":["x_refsource_CONFIRM"]},{"url":"http://support.apple.com/kb/HT2163","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/29357","name":"29357","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/490056/100/0/threaded","name":"20080325 rPSA-2008-0123-1 ruby","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.kb.cert.org/vuls/id/404515","name":"VU#404515","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/bid/28123","name":"28123","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:141","name":"MDVSA-2008:141","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.securityfocus.com/archive/1/489205/100/0/threaded","name":"20080306 [DSECRG-08-018] Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory traversal file Download Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.vupen.com/english/advisories/2008/1981/references","name":"ADV-2008-1981","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://www.exploit-db.com/exploits/5215","name":"5215","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/29232","name":"29232","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41010","name":"ruby-webrick-directory-traversal(41010)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/31687","name":"31687","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/489218/100/0/threaded","name":"20080306 Re: [DSECRG-08-018] Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory traversal file Download Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html","name":"FEDORA-2008-2458","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0897.html","name":"RHSA-2008:0897","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html","name":"APPLE-SA-2008-06-30","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2008/0787","name":"ADV-2008-0787","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/30802","name":"30802","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937","name":"oval:org.mitre.oval:def:10937","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securitytracker.com/id?1019562","name":"1019562","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://issues.rpath.com/browse/RPL-2338","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/32371","name":"32371","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:142","name":"MDVSA-2008:142","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/29536","name":"29536","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html","name":"FEDORA-2008-2443","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0123","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-10-11T19:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2008-03-03T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"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://wiki.rpath.com/wiki/Advisories:rPSA-2008-0123","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://support.apple.com/kb/HT2163","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/29357","name":"29357","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/490056/100/0/threaded","name":"20080325 rPSA-2008-0123-1 ruby","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/404515","name":"VU#404515","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/28123","name":"28123","tags":["vdb-entry","x_refsource_BID","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":"http://www.securityfocus.com/archive/1/489205/100/0/threaded","name":"20080306 [DSECRG-08-018] Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory traversal file Download Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/1981/references","name":"ADV-2008-1981","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/5215","name":"5215","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/29232","name":"29232","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41010","name":"ruby-webrick-directory-traversal(41010)","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://www.securityfocus.com/archive/1/489218/100/0/threaded","name":"20080306 Re: [DSECRG-08-018] Ruby 1.8.6 (Webrick Httpd 1.3.1) Directory traversal file Download Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00354.html","name":"FEDORA-2008-2458","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0897.html","name":"RHSA-2008:0897","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html","name":"APPLE-SA-2008-06-30","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2008/03/03/webrick-file-access-vulnerability/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/0787","name":"ADV-2008-0787","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/30802","name":"30802","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10937","name":"oval:org.mitre.oval:def:10937","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.securitytracker.com/id?1019562","name":"1019562","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-2338","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/32371","name":"32371","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:142","name":"MDVSA-2008:142","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/29536","name":"29536","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00338.html","name":"FEDORA-2008-2443","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0123","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T08:08:57.740Z"}}]}}}