CVE-2018-3733 Path Traversal in crud-file-server
A path traversal vulnerability in the crud-file-server Node.js module allows attackers to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-3733?
CVE-2018-3733 is a high-severity path traversal vulnerability in HackerOne crud-file-server 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
crud-file-server node module before 0.9.0 suffers from a Path Traversal vulnerability due to incorrect validation of url, which allows a malicious user to read content of any file with known path.
Weakness: CWE-22
Which versions are affected by CVE-2018-3733?
2 open source packages ship an affected version, including crud-file-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
crud-file-server npm | All versions | 0.9.0 |
crud-file-server npm | All versions | 0.9.0 |
Products include Crud-File-Server Project Crud-File-Server.
How do I fix CVE-2018-3733?
Upgrade crud-file-server to 0.9.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-3733 being exploited?
There is no known exploitation of CVE-2018-3733 in the wild and no public exploit code.
Other vulnerabilities in HackerOne crud-file-server node module
Sources
Also known as GHSA-vfp9-gwrh-wq9g.