CVE-2016-10561 Directory Traversal in bitty
An attacker can read arbitrary files from the server via directory traversal in GET requests to the Bitty development web server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-10561?
CVE-2016-10561 is a medium-severity path traversal vulnerability in HackerOne bitty node module, published on 31 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Bitty is a development web server tool that functions similar to `python -m SimpleHTTPServer`. Version 0.2.10 has a directory traversal vulnerability that is exploitable via the URL path in GET requests.
Weakness: CWE-22
Which versions are affected by CVE-2016-10561?
2 open source packages ship an affected version, including bitty. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bitty npm | All versions to 0.2.10 | None |
bitty npm | All versions to 0.2.10 | None |
Products include Bitty Project Bitty.
How do I fix CVE-2016-10561?
No fix has been published for CVE-2016-10561 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 CVE-2016-10561 being exploited?
There is no known exploitation of CVE-2016-10561 in the wild and no public exploit code.
Sources
Also known as GHSA-f5mh-hq6h-whxv.