GHSA-vx5w-cxch-wwc9 Path Traversal in f-serv
Attackers can read arbitrary server files via path traversal in f-serv due to insufficient URL sanitization.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-vx5w-cxch-wwc9?
GHSA-vx5w-cxch-wwc9 is a path traversal vulnerability in f-serv, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of f-serv are vulnerable to Path Traversal. Due to insufficient input sanitization in URLs, attackers can access server files by using relative paths when fetching files.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Which versions are affected by GHSA-vx5w-cxch-wwc9?
2 open source packages ship an affected version, including f-serv.
| Package | Affected | Fixed in |
|---|---|---|
f-serv npm | From 0.0.0 | None |
f-serv npm | From 0.0.0 | None |
How do I fix GHSA-vx5w-cxch-wwc9?
No fix has been published for GHSA-vx5w-cxch-wwc9 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-vx5w-cxch-wwc9 being exploited?
There is no known exploitation of GHSA-vx5w-cxch-wwc9 in the wild and no public exploit code.