CVE-2014-10068 Hidden Directories Always Served in inert
The inert Node.js module incorrectly serves files from hidden directories despite configuration settings, allowing attackers to read sensitive files.
- 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-10068?
CVE-2014-10068 is a high-severity path traversal vulnerability in HackerOne inert node module, published on 29 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The inert directory handler in inert node module before 1.1.1 always allows files in hidden directories to be served, even when `showHidden` is false.
Weakness: CWE-22
Which versions are affected by CVE-2014-10068?
2 open source packages ship an affected version, including inert. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
inert npm | All versions | 1.1.1 |
inert npm | All versions | 1.1.1 |
Products include Hapi Inert.
How do I fix CVE-2014-10068?
Upgrade inert to 1.1.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-10068 being exploited?
There is no known exploitation of CVE-2014-10068 in the wild and no public exploit code.
Sources
Also known as GHSA-g4xp-36c3-f7mr.