CVE-2017-16105: Directory Traversal in serverwzl
Summary
CVE-2017-16105: Directory Traversal in serverwzl. Affects serverwzl versions >= 0.0.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The serverwzl package is an npm package used for local development. It provides functionality for resolving file paths. However, it is vulnerable to a directory traversal attack, where a malicious actor can access files outside of the intended directory root. This can lead to the disclosure of private files on the vulnerable system.
Vulnerability Detail
The vulnerability in serverwzl arises from its resolution of relative file paths. By manipulating the file path in a specific way, an attacker can traverse directories and access files outside of the intended scope. For example, an attacker can send a GET request with a crafted file path to retrieve sensitive files, such as /etc/passwd. This vulnerability has a high severity rating and is classified under CWE-22.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As there is no patch available, the only workaround is to avoid using serverwzl in production environments. Instead, consider using an alternative package that does not have the directory traversal vulnerability.
Conclusion
The serverwzl package is vulnerable to a directory traversal attack, allowing an attacker to access files outside of the intended directory root. As there is no patch available, it is advised to only use this package for local development purposes. For production environments, it is recommended to switch to an alternative package that does not have this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for serverwzl →
FAQ
The impact of this vulnerability is the potential disclosure of private files on the vulnerable system. An attacker can access sensitive files outside of the intended directory root, which can lead to further exploitation or unauthorized access.
No, there is no patch available for this vulnerability in serverwzl.
Yes, this vulnerability can be exploited remotely by sending crafted requests to the vulnerable server.
This vulnerability has a high severity rating.
Yes, it is recommended to switch to a different package that does not have the directory traversal vulnerability.