GHSA-vc6r-4x6g-mmqc Path Traversal in m-server
A remote attacker can exploit a path traversal vulnerability in m-server 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 GHSA-vc6r-4x6g-mmqc?
GHSA-vc6r-4x6g-mmqc is a path traversal vulnerability in m-server, published on 11 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of m-server before 1.4.2 are vulnerable to path traversal allowing a remote attacker to display content of arbitrary files from the server.
Recommendation
Update to version 1.4.2 or later.
Which versions are affected by GHSA-vc6r-4x6g-mmqc?
2 open source packages ship an affected version, including m-server.
| Package | Affected | Fixed in |
|---|---|---|
m-server npm | All versions | 1.4.2 |
m-server npm | All versions | 1.4.2 |
How do I fix GHSA-vc6r-4x6g-mmqc?
Upgrade m-server to 1.4.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-vc6r-4x6g-mmqc being exploited?
There is no known exploitation of GHSA-vc6r-4x6g-mmqc in the wild and no public exploit code.