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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Apache Tomcat 4.0/4.1 - Servlet Full Path Disclosure EDB-21412 · remote · Apr 23, 2002 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 4.0.0, < 4.1.0 | 4.1.0 | GHSA-8g4f-fh7f-4fwh |
| Maven | org.apache.tomcat:tomcat | >= 3.0, < 3.3a | 3.3a | GHSA-8g4f-fh7f-4fwh |
References
- http://tomcat.apache.org/security-4.html
- 30908 third-party-advisory
- 239312 vendor-advisory
- 30899 third-party-advisory
- ADV-2008-1979 vdb-entry
- 20020422 Tomcat real path disclosure (2) mailing-list
- 4575 vdb-entry
- tomcat-example-class-information(8932) vdb-entry
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [24/34] - /tomcat/site/trunk/docs/ mailing-list