CVE-2017-16037: Directory Traversal in gomeplus-h5-proxy
Summary
CVE-2017-16037: Directory Traversal in gomeplus-h5-proxy. Affects gomeplus-h5-proxy versions < 1.0.15. 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 gomeplus-h5-proxy package is an npm package used for local development and production environments. It provides functionality for proxying requests and resolving relative file paths. However, it is vulnerable to a directory traversal attack, which allows malicious actors to 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 gomeplus-h5-proxy arises from the package's improper resolution of relative file paths. By manipulating the file path in a request, an attacker can traverse directories and access files outside of the intended directory root. For example, an attacker can send a GET request with a crafted file path like GET /../../../etc/passwd to retrieve sensitive system files. 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 the gomeplus-h5-proxy package in production environments. Instead, consider using an alternative package that provides similar functionality but does not suffer from the directory traversal vulnerability.
Conclusion
The gomeplus-h5-proxy package is vulnerable to a directory traversal attack, which can lead to the disclosure of sensitive files on the system. Unfortunately, there is no patch available for this vulnerability. It is advised to only use this package for local development purposes and switch to a different package for production environments. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for gomeplus-h5-proxy →
FAQ
The impact of this vulnerability is the potential disclosure of sensitive files on the vulnerable system. An attacker can access files outside of the intended directory root, which may include private configuration files, user data, or other sensitive information.
No, there is no patch available for this vulnerability in the gomeplus-h5-proxy package. It is recommended to use an alternative package for production environments.
Yes, this vulnerability can be exploited remotely. An attacker can send crafted requests to the vulnerable system to traverse directories and access sensitive files.
There are no known incidents specifically related to this vulnerability in the gomeplus-h5-proxy package. However, similar directory traversal vulnerabilities have been exploited in the past to gain unauthorized access to sensitive information.
Yes, there are alternative packages available that provide similar functionality without the directory traversal vulnerability. It is recommended to explore these alternatives for production environments.