CVE-2002-2008 Apache Tomcat Leaks Information via Error Message

Medium 5.0 Published Updated

Remote attackers can obtain the web root path via error messages from non-existent resources, exposing sensitive server configuration details.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2002-2008?

CVE-2002-2008 is a medium-severity vulnerability in Apache Tomcat, published on 14 Jul 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Tomcat 4.0.3 for Windows allows remote attackers to obtain the web root path via an HTTP request for a resource that does not exist, such as lpt9, which leaks the information in an error message.

Which versions are affected by CVE-2002-2008?

2 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenAll versions4.1.3
org.apache.tomcat:tomcat MavenAll versions4.1.3

Products include Apache Tomcat.

How do I fix CVE-2002-2008?

Upgrade org.apache.tomcat:tomcat to 4.1.3 or later.

Is CVE-2002-2008 being exploited?

There is no known exploitation of CVE-2002-2008 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-m8w6-7rh6-4xj6.

Is CVE-2002-2008 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free