CVE-2014-10066: Directory Traversal in fancy-server
Summary
CVE-2014-10066: Directory Traversal in fancy-server. Affects fancy-server versions < 0.1.4. Fixed in 0.1.4. 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
fancy-server is an npm package that provides server functionality. It allows users to serve files from a specified directory. However, versions 0.1.4 and earlier of fancy-server are vulnerable to a directory traversal attack. This means that an attacker can exploit the server to read files outside of the intended served directory.
Vulnerability Detail
The vulnerability in fancy-server arises from insufficient input validation. Attackers can use standard attack vectors such as ../ to navigate to parent directories and access files that should not be accessible. This can lead to unauthorized access to sensitive information or even remote code execution if the attacker can upload malicious files to the server. The vulnerability has been assigned a severity rating of HIGH (CWE-22).
How To Fix
Minimum fixed version
0.1.4
This is the first release that contains the fix.
npm install fancy-server@0.1.4
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of fancy-server to mitigate the risk.
Conclusion
In conclusion, versions 0.1.4 and earlier of fancy-server are vulnerable to a directory traversal attack. To mitigate this risk, it is crucial to upgrade to version 0.1.4 or a later release of fancy-server. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for fancy-server →
FAQ
fancy-server is an npm package that provides server functionality, allowing users to serve files from a specified directory.
A directory traversal attack is a type of vulnerability where an attacker can navigate to parent directories and access files outside of the intended served directory.
The vulnerability can lead to unauthorized access to sensitive information or even remote code execution if the attacker can upload malicious files to the server.
To fix this vulnerability, it is recommended to upgrade to version 0.1.4 or a later release of fancy-server.
There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of fancy-server to mitigate the risk.