Directory Traversal Vulnerability in webfs: Remote File Access Risk

webfs Updated 02 Oct 2025

Summary

17/11/2003
N/A
Yes i
Unrated
Not published

CVE-2003-0832: Directory traversal vulnerability in webfs before 1.20 allows remote attackers to read arbitrary files via .. (dot dot) sequences in a Hostname header. Affects webfs versions < 1.20. Fixed in 1.20. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

webfs is a lightweight web server designed for serving static files. It is commonly used in environments where simplicity and low resource consumption are prioritized. The package allows users to host files over HTTP, making it accessible for various applications. However, its design has made it susceptible to directory traversal attacks, which can lead to unauthorized access to sensitive files on the server.

Vulnerability Detail

The vulnerability, identified as CVE-2003-0832, arises from a directory traversal flaw in webfs versions prior to 1.20. This issue allows remote attackers to exploit the web server by sending specially crafted requests that include '..' (dot dot) sequences in the Hostname header. By doing so, attackers can potentially read arbitrary files on the server, leading to exposure of sensitive information and compromising the integrity of the system. The risk is particularly pronounced in environments where webfs is used to serve critical files without adequate security measures.

How To Fix

Minimum fixed version

1.20

This is the first release that contains the fix.

sudo apt-get install --only-upgrade webfs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately feasible, consider implementing access controls to restrict access to the web server. This may include configuring firewalls to limit incoming connections or using a reverse proxy to filter requests. Additionally, monitor logs for any suspicious activity that may indicate attempts to exploit this vulnerability.

Conclusion

The directory traversal vulnerability in webfs poses a significant risk to systems using this package. Upgrading to version 1.20 or later is crucial to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor for vulnerabilities in your software without requiring complex installations.

See every vulnerability recorded for webfs →

Share this vulnerability

FAQ

CVE-2003-0832 is a unique identifier for a directory traversal vulnerability found in webfs versions before 1.20, allowing unauthorized file access.

Check the version of your webfs installation. If it is below 1.20, it is vulnerable to CVE-2003-0832.

The primary risk is unauthorized access to sensitive files on the server, which can lead to data breaches and compromise system security.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application for this vulnerability using the Vulert playground.

Implement access controls and monitor server logs for suspicious activity as a temporary measure until you can upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for webfs.

How To Fix

Minimum fixed version

1.20

This is the first release that contains the fix.

sudo apt-get install --only-upgrade webfs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback