PSF-2016-9 Issue #26657: HTTP server directory traversal
An attacker can read arbitrary files on Windows systems using the Python http.server module due to a directory traversal vulnerability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is PSF-2016-9?
PSF-2016-9 is a path traversal vulnerability, published on 28 Mar 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Fix directory traversal vulnerability with http.server and
SimpleHTTPServer on Windows.
Regression of Python 3.3.5.
Python issue reported at 2016-03-14.
Which versions are affected by PSF-2016-9?
How do I fix PSF-2016-9?
No fix has been published for PSF-2016-9 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is PSF-2016-9 being exploited?
There is no known exploitation of PSF-2016-9 in the wild and no public exploit code.