CVE-2007-5685
The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2007-5685- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-5685- Updated
- 2026-11-02
EUVDEUVD-2007-5657 No score
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.
- Record
EUVD-2007-5657- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fp8w-ccf9-rfr2 No score
The safe_path function in shttp before 0.0.5 allows remote attackers to conduct directory...
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.
- Record
GHSA-fp8w-ccf9-rfr2- Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Shttp 0.0.x - Directory Traversal | 2007-10-25 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-5685 is a medium vulnerability (CVSS 5.0) in Serverkit Shttp, published October 28, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.48%, the 89th percentile. No source names a fixed version.
References
securityfocus.com/archive/1/482797/100/0/threaded
serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz
exchange.xforce.ibmcloud.com/vulnerabilities/37455
osvdb.org/43607
digineo.co.uk/shttp_directory_traversal
securityfocus.com/bid/26212
nvd.nist.gov/vuln/detail/CVE-2007-5685
github.com/advisories/GHSA-fp8w-ccf9-rfr2