{"api_version":"1","generated_at":"2026-07-23T04:30:06+00:00","cve":"CVE-2007-5685","urls":{"html":"https://cve.report/CVE-2007-5685","api":"https://cve.report/api/cve/CVE-2007-5685.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-5685","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-5685"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-10-28 17:08:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-22","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.digineo.co.uk/shttp_directory_traversal","name":"http://www.digineo.co.uk/shttp_directory_traversal","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Directory Traversal Flaw in shttp","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/26212","name":"http://www.securityfocus.com/bid/26212","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Shttp Remote Directory Traversal Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37455","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37455","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/482797/100/0/threaded","name":"http://www.securityfocus.com/archive/1/482797/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz","name":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://osvdb.org/43607","name":"http://osvdb.org/43607","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5685","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5685","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"5685","vulnerable":"1","versionEndIncluding":"0.0.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"serverkit","cpe5":"shttp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T15:39:13.666Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"20071025 Directory traversal flaw in shttp","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/482797/100/0/threaded"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz"},{"name":"shttp-safepath-directory-traversal(37455)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37455"},{"name":"43607","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/43607"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.digineo.co.uk/shttp_directory_traversal"},{"name":"26212","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/26212"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-10-25T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"20071025 Directory traversal flaw in shttp","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/482797/100/0/threaded"},{"tags":["x_refsource_CONFIRM"],"url":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz"},{"name":"shttp-safepath-directory-traversal(37455)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37455"},{"name":"43607","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/43607"},{"tags":["x_refsource_MISC"],"url":"http://www.digineo.co.uk/shttp_directory_traversal"},{"name":"26212","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/26212"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-5685","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":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20071025 Directory traversal flaw in shttp","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/482797/100/0/threaded"},{"name":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz","refsource":"CONFIRM","url":"http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz"},{"name":"shttp-safepath-directory-traversal(37455)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37455"},{"name":"43607","refsource":"OSVDB","url":"http://osvdb.org/43607"},{"name":"http://www.digineo.co.uk/shttp_directory_traversal","refsource":"MISC","url":"http://www.digineo.co.uk/shttp_directory_traversal"},{"name":"26212","refsource":"BID","url":"http://www.securityfocus.com/bid/26212"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-5685","datePublished":"2007-10-28T16:00:00.000Z","dateReserved":"2007-10-28T00:00:00.000Z","dateUpdated":"2024-08-07T15:39:13.666Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-10-28 17:08:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-22","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:serverkit:shttp:*:*:*:*:*:*:*:*","versionEndIncluding":"0.0.4","matchCriteriaId":"1921C93F-F9B2-4694-98FA-1EB2BFEDF4A0"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"5685","Ordinal":"1","Title":"CVE-2007-5685","CVE":"CVE-2007-5685","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"5685","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2007-5685"},{"CveYear":"2007","CveId":"5685","Ordinal":"2","NoteData":"2007-10-28","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"5685","Ordinal":"3","NoteData":"2018-10-15","Type":"Other","Title":"Modified"}]}}}