CVE-2014-10066 Directory Traversal in fancy-server
An attacker can read files outside the served directory in the fancy-server Node.js module by using directory traversal sequences.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-10066?
CVE-2014-10066 is a high-severity path traversal vulnerability in HackerOne fancy-server 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
Versions less than 0.1.4 of the static file server module fancy-server are vulnerable to directory traversal. An attacker can provide input such as `../` to read files outside of the served directory.
Weakness: CWE-22
Which versions are affected by CVE-2014-10066?
2 open source packages ship an affected version, including fancy-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fancy-server npm | All versions | 0.1.4 |
fancy-server npm | All versions | 0.1.4 |
Products include Fancy-Server Project Fancy-Server.
How do I fix CVE-2014-10066?
Upgrade fancy-server to 0.1.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-10066 being exploited?
There is no known exploitation of CVE-2014-10066 in the wild and no public exploit code.
Sources
Also known as GHSA-m273-wwfv-h6jp.