CVE-2018-3713 Path Traversal in angular-http-server
Attackers can read arbitrary files on the server via path traversal in the angular-http-server Node.js module.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-3713?
CVE-2018-3713 is a medium-severity path traversal vulnerability in HackerOne angular-http-server node module, published on 7 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
angular-http-server node module suffers from a Path Traversal vulnerability due to lack of validation of possibleFilename, which allows a malicious user to read content of any file with known path.
Weakness: CWE-22
Which versions are affected by CVE-2018-3713?
2 open source packages ship an affected version, including angular-http-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
angular-http-server npm | All versions | 1.6.0 |
angular-http-server npm | All versions | 1.6.0 |
Products include Angular-Http-Server Project Angular-Http-Server.
How do I fix CVE-2018-3713?
Upgrade angular-http-server to 1.6.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-3713 being exploited?
There is no known exploitation of CVE-2018-3713 in the wild and no public exploit code.
Sources
Also known as GHSA-4rvg-955w-h68q.