Note: This is an archival copy of Security Sun Alert 251986 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1020086.1.
Article ID : 1020086.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2009-02-24
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerabilities in Tomcat 5.5 may Lead to Cross Site Scripting (XSS) or Directory Traversal



Category
Security

Release Phase
Resolved

Bug Id
6755592

Product
Solaris 9 Operating System
Solaris 10 Operating System
OpenSolaris

Date of Resolved Release
25-Feb-2009

Security vulnerabilities in Tomcat 5.5 may lead to Cross Site Scripting (XSS) or directory traversal:

1. Impact

There are three security vulnerabilities in the Tomcat JSP/Servlet container that affect Tomcat 5.5 bundled in Solaris 9 and Solaris 10.

The first two security vulnerabilities are Cross Site Scripting (XSS) issues. One in the HttpServletResponse.sendError method (CVE-2008-1232) and the other in the Tomcat Virtual Host Manager (CVE-2008-1947). These may allow a local or remote unprivileged user to inject arbitrary web script or HTML, which in turn may allow the unprivileged user to bypass access control and gain access to unauthorized data.

The third security vulnerability is a Directory Traversal vulnerability in the RequestDispatcher class (CVE-2008-2370) that may allow a local or remote unprivileged user to bypass access control and gain access to unauthorized data.

Additional information regarding these issues is available at:
2. Contributing Factors

These issues can occur in the following releases:

SPARC Platform
  • Solaris 9 without patch 114016-03
  • Solaris 10 without patch 122911-15
  • OpenSolaris based upon builds snv_01 through snv_100
x86 Platform
  • Solaris 9 without patch 114017-03
  • Solaris 10 without patch 122912-15
  • OpenSolaris based upon builds snv_01 through snv_100
Note 1: Solaris 8 does not include support for Tomcat and therefore is not impacted by these issues.

Note 2: OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived.  To determine the base build of OpenSolaris, the following command can be used:
    $ uname -v
snv_86
Note 3: A system is only vulnerable to this issues if Tomcat 5.5 has been configured and is running on the system.

To determine if Tomcat is installed on the system, a command such as the following can be used:
    % pkginfo SUNWtcatr
system SUNWtcatr Tomcat Servlet/JSP Container (root)
Tomcat can be configured to start in various different ways. For assistance in determining if Tomcat is configured to run on the system, consult the documentation which is usually available in the "/var/apache/tomcat/webapps/tomcat-docs" directory.
3. Symptoms

There are no predictable symptoms that would indicate the described issues have been exploited.

4. Workaround

There are no workarounds for these issues. Please see the Resolution section below.

5. Resolution

These issues are resolved in the following releases:

SPARC Platform
  • Solaris 9 with patch 114016-03 or later
  • Solaris 10 with patch 122911-15 or later
  • OpenSolaris based upon builds snv_101 or later
x86 Platform
  • Solaris 9 with patch 114017-03 or later
  • Solaris 10 with patch 122912-15 or later
  • OpenSolaris based upon builds snv_101 or later
For more information on Security Sun Alerts, see 1009886.1.

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.


References

122911-15
122912-15
114016-03
114017-03





Attachments
This solution has no attachment