CVE-2018-16485 m-server Vulnerable to Directory Traversal
A path traversal flaw in the m-server module allows attackers to read arbitrary files on the server by manipulating URL requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16485?
CVE-2018-16485 is a medium-severity path traversal vulnerability in HackerOne m-server, published on 1 Feb 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Path Traversal vulnerability in module m-server <1.4.1 allows malicious user to access unauthorized content of any file in the directory tree e.g. /etc/passwd by appending slashes to the URL request.
Weakness: CWE-22
Which versions are affected by CVE-2018-16485?
2 open source packages ship an affected version, including m-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
m-server npm | All versions | 1.4.1 |
m-server npm | All versions | 1.4.1 |
Products include M-Server Project M-Server.
How do I fix CVE-2018-16485?
Upgrade m-server to 1.4.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-16485 being exploited?
There is no known exploitation of CVE-2018-16485 in the wild and no public exploit code.
Other vulnerabilities in HackerOne m-server
Sources
Also known as GHSA-899g-6q6w-7v94.