{"id":"CVE-2007-5685","aliases":["EUVD-2007-5657","GHSA-fp8w-ccf9-rfr2"],"status":"published","title":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory...","description":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of \"..\" and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03477,"percentile":0.89178,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-22"],"published":"2007-10-28T16:00:00Z","modified":"2026-06-16T22:46:37Z","exploits":[{"source":"exploitdb","id":"EDB-30711","title":"Shttp 0.0.x - Directory Traversal","type":"remote","platform":"linux","date":"2007-10-25","verified":true,"url":"https://www.exploit-db.com/exploits/30711"}],"products":[{"vendor":"serverkit","product":"shttp"}],"references":[{"url":"http://www.securityfocus.com/archive/1/482797/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37455","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://osvdb.org/43607","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.digineo.co.uk/shttp_directory_traversal","tags":["x_refsource_MISC","x_transferred","Patch"]},{"url":"http://www.securityfocus.com/bid/26212","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5685"},{"url":"https://github.com/advisories/GHSA-fp8w-ccf9-rfr2"}],"sources":{"cve":[{"id":"CVE-2007-5685","description":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of \"..\" and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.","status":"published","published":"2007-10-28T16:00:00Z","modified":"2024-08-07T15:39:13.666Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5657","description":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of \"..\" and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.","status":"published","published":"2007-10-28T16:00:00Z","modified":"2024-08-07T15:39:13Z","updated_at":"2026-11-03T01:16:16.183984Z"}],"ghsa":[{"id":"GHSA-fp8w-ccf9-rfr2","title":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory...","description":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of \"..\" and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.","status":"published","published":"2022-05-01T18:35:44Z","modified":"2023-01-31T05:04:41Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:48:42.977051Z"}],"nvd":[{"id":"CVE-2007-5685","description":"The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory traversal attacks and read files via a combination of \"..\" and sub-directory specifiers that resolve to a pathname that is at or below the same level as the web document root, but in a different part of the directory tree.","status":"published","published":"2007-10-28T17:08:00Z","modified":"2026-06-16T22:46:37.76Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:01:22.203764Z"}]}}
