CVE-2018-3733 Path Traversal in crud-file-server

High 7.5 Published Updated

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.

PackageAffectedFixed in
crud-file-server npmAll versions0.9.0
crud-file-server npmAll versions0.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.

Sources

Also known as GHSA-vfp9-gwrh-wq9g.

Is CVE-2018-3733 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free