CVE-2005-4703: Apache Tomcat Discloses MS-DOS Pathname

org.apache.tomcat:tomcat Updated 02 Oct 2025

Summary

01/05/2022
No i
Moderate
Not published

CVE-2005-4703: Apache Tomcat Discloses MS-DOS Pathname. Affects org.apache.tomcat:tomcat versions < 4.0.3. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Tomcat is an open-source web server and servlet container that is widely used for hosting Java-based web applications. It provides a robust and scalable platform for running Java web applications and supports various protocols and technologies. However, a vulnerability has been discovered in Apache Tomcat 4.0.3 when running on Windows operating systems.

Vulnerability Detail

The vulnerability allows remote attackers to obtain sensitive information by sending a request for a file that contains an MS-DOS device name, such as 'lpt9'. This request triggers an error message that leaks the pathname of the requested file. An attacker can exploit this vulnerability to gather information about the server's file system structure, potentially aiding in further attacks. This vulnerability was demonstrated using Nikto, a popular web server scanner.

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

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating Apache Tomcat to a patched version.

Conclusion

Apache Tomcat 4.0.3 running on Windows is vulnerable to a disclosure of MS-DOS pathname vulnerability. Remote attackers can exploit this vulnerability to obtain sensitive information about the server's file system structure. It is crucial to update Apache Tomcat to a patched version to mitigate this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.tomcat:tomcat →

Share this vulnerability

FAQ

Apache Tomcat is an open-source web server and servlet container that is widely used for hosting Java-based web applications.

This vulnerability allows remote attackers to obtain sensitive information about the server's file system structure, potentially aiding in further attacks.

To fix this vulnerability, it is recommended to upgrade to a patched version of Apache Tomcat that addresses the issue.

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating Apache Tomcat to a patched version.

Yes, remote attackers can exploit this vulnerability by sending a request for a file that contains an MS-DOS device name.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.tomcat:tomcat.

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 →

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