CVE-2007-5685
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.5% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.5% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Serverkit Shttp ≤ 0.0.4
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-5685.md and follow it. Check whether this project is affected by CVE-2007-5685. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz
- http://www.digineo.co.uk/shttp_directory_traversal
- http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz
- http://www.digineo.co.uk/shttp_directory_traversal
References
- http://osvdb.org/43607
- http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz
- http://www.digineo.co.uk/shttp_directory_traversal
- http://www.securityfocus.com/archive/1/482797/100/0/threaded
- http://www.securityfocus.com/bid/26212
- https://exchange.xforce.ibmcloud.com/vulnerabilities/37455
- http://osvdb.org/43607
- http://serverkit.org/modules/contrib/shttp/shttp-0.0.5.tar.gz
- http://www.digineo.co.uk/shttp_directory_traversal
- http://www.securityfocus.com/archive/1/482797/100/0/threaded
- http://www.securityfocus.com/bid/26212
- https://exchange.xforce.ibmcloud.com/vulnerabilities/37455