CVE-2017-16038 Directory Traversal in f2e-server

High 7.5 Published Updated

An attacker can read arbitrary files from the server filesystem via directory traversal in f2e-server, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-16038?

CVE-2017-16038 is a high-severity path traversal vulnerability in HackerOne f2e-server node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

`f2e-server` 1.12.11 and earlier is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url. This is compounded by `f2e-server` requiring elevated privileges to run.

Weakness: CWE-22

Which versions are affected by CVE-2017-16038?

2 open source packages ship an affected version, including f2e-server. It affects 1 product.

PackageAffectedFixed in
f2e-server npmAll versions1.12.12
f2e-server npmAll versions1.12.12

Products include F2e-Server Project F2e-Server.

How do I fix CVE-2017-16038?

Upgrade f2e-server to 1.12.12 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-16038 being exploited?

There is no known exploitation of CVE-2017-16038 in the wild and no public exploit code.

Sources

Also known as GHSA-g7j3-p357-cw8p.

Is CVE-2017-16038 in your software?

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

Check your SBOMs for free