Gentoo Logo

Tomcat: Information disclosure


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200705-03 / tomcat
Release Date May 01, 2007
Latest Revision May 01, 2007: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-servers/tomcat < 5.5.22 >= 5.5.22 All supported architectures

Related bugreports: #173122


A vulnerability has been discovered in Tomcat that allows for the disclosure of sensitive information.

2.  Impact Information


Tomcat is the Apache Jakarta Project's official implementation of Java Servlets and Java Server Pages.


Tomcat allows special characters like slash, backslash or URL-encoded backslash as a separator, while Apache does not.


A remote attacker could send a specially crafted URL to the vulnerable Tomcat server, possibly resulting in a directory traversal and read access to arbitrary files with the privileges of the user running Tomcat. Note that this vulnerability can only be exploited when using apache proxy modules like mod_proxy, mod_rewrite or mod_jk.

3.  Resolution Information


There is no known workaround at this time.


All Tomcat users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/tomcat-5.5.22"

4.  References


Page updated May 01, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.