Gentoo Logo

Tomcat: Multiple vulnerabilities

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200804-10 / tomcat
Release Date April 10, 2008
Latest Revision April 10, 2008: 01
Impact normal
Exploitable local, remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-servers/tomcat < 6.0.16 revision >= 5.5.26, >= 6.0.16 All supported architectures

Related bugreports: #196066, #203169

Synopsis

Multiple vulnerabilities in Tomcat may lead to local file overwriting, session hijacking or information disclosure.

2.  Impact Information

Background

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

Description

The following vulnerabilities were reported:

  • Delian Krustev discovered that the JULI logging component does not properly enforce access restrictions, allowing web application to add or overwrite files (CVE-2007-5342).
  • When the native APR connector is used, Tomcat does not properly handle an empty request to the SSL port, which allows remote attackers to trigger handling of a duplicate copy of one of the recent requests (CVE-2007-6286).
  • If the processing or parameters is interrupted, i.e. by an exception, then it is possible for the parameters to be processed as part of later request (CVE-2008-0002).
  • An absolute path traversal vulnerability exists due to the way that WebDAV write requests are handled (CVE-2007-5461).
  • Tomcat does not properly handle double quote (") characters or %5C (encoded backslash) sequences in a cookie value, which might cause sensitive information such as session IDs to be leaked to remote attackers and enable session hijacking attacks (CVE-2007-5333).

Impact

These vulnerabilities can be exploited by:

  • a malicious web application to add or overwrite files with the permissions of the user running Tomcat.
  • a remote attacker to conduct session hijacking or disclose sensitive data.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Tomcat 5.5.x users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

All Tomcat 6.0.x users should upgrade to the latest version:

Code Listing 3.2: Resolution

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

4.  References



Print

Updated April 10, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL

Support OSL

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

Global Netoptex Inc.

Global Netoptex Inc.

Bytemark

Bytemark

Linux World Expo

Linux World Expo

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