# CVE-2002-2006: Apache Tomcat Default Installation Reveals Sensitive Information

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.0
- **CVSS:** 5.0 (v2.0, NVD) `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Authentication: None; Confidentiality impact: Partial; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 30.67% (percentile 99, 2026-11-26)
- **Aliases:** EDB-21412, GHSA-8g4f-fh7f-4fwh
- **Published:** 2002-04-23T00:00:00.000Z
- **Modified:** 2026-06-16T22:00:28.420Z

## Who should check

- Projects that depend on Maven package org.apache.tomcat:tomcat (\>= 4.0.0, \< 4.1.0)
- Anyone running n/a (versions: see the vendor advisory)

## Description

The default installation of Apache Tomcat 4.0 through 4.1 and 3.0 through 3.3.1 allows remote attackers to obtain the installation path and other sensitive system information via the (1) SnoopServlet or (2) TroubleShooter example servlets.

## Affected and fixed versions

- Maven `org.apache.tomcat:tomcat`: affected \>= 4.0.0, \< 4.1.0; fixed 4.1.0, 3.3a (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade org.apache.tomcat:tomcat to one of 4.1.0, 3.3a (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2002-2006. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2002-2006.md
Affected: org.apache.tomcat:tomcat >= 4.0.0, < 4.1.0
Fixed in: 4.1.0, 3.3a

Steps:
1. Search this machine and project for org.apache.tomcat:tomcat (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2002-2006 being exploited?

There is no confirmed exploitation: CVE-2002-2006 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 30.67% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2002-2006?

Medium: CVSS 5.0 (v2.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2002-2006?

org.apache.tomcat:tomcat \>= 4.0.0, \< 4.1.0.

### Is there a fix for CVE-2002-2006?

Yes. Fixed in 4.1.0, 3.3a. Upgrade org.apache.tomcat:tomcat to one of 4.1.0, 3.3a (or later in the same release line).

### How do I check if I'm affected by CVE-2002-2006?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://sunsolve.sun.com/search/document.do?assetkey=1-26-239312-1>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2002-2006>
- exploit: <http://archives.neohapsis.com/archives/bugtraq/2002-04/0311.html>
- exploit: <http://www.securityfocus.com/bid/4575>
- exploit: <https://www.exploit-db.com/exploits/21412>
- other: <http://tomcat.apache.org/security-4.html>
- other: <http://secunia.com/advisories/30908>
- other: <http://secunia.com/advisories/30899>
- other: <http://www.vupen.com/english/advisories/2008/1979/references>
- other: <http://www.iss.net/security_center/static/8932.php>
- other: <https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E>
- other: <https://web.archive.org/web/20020602051837/http://archives.neohapsis.com/archives/bugtraq/2002-04/0311.html>
- other: <https://web.archive.org/web/20021026082659/http://online.securityfocus.com/bid/4575>
- other: <https://web.archive.org/web/20030104173336/http://www.iss.net/security_center/static/8932.php>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2002-2006>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8g4f-fh7f-4fwh> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/21412>

HTML: <https://flawdb.com/CVE-2002-2006> · JSON: <https://flawdb.com/api/v1/entries/CVE-2002-2006>
