-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                        ESB-2009.0179 -- [Solaris]
         Security Vulnerabilities in Tomcat 5.5 may Lead to Cross
                Site Scripting (XSS) or Directory Traversal
                             27 February 2009

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              Tomcat 5.5
Publisher:            Sun Microsystems
Operating System:     Solaris
                      OpenSolaris
Impact:               Access Privileged Data
                      Cross-site Scripting
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-2370 CVE-2008-1947 CVE-2008-1232

Ref:                  ESB-2008.0575
                      ESB-2008.0772
                      ESB-2008.0838
                      ESB-2008.0941
                      ESB-2008.1099
                      ESB-2009.0155
                      ESB-2009.0167

Original Bulletin:    
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-251986-1

- --------------------------BEGIN INCLUDED TEXT--------------------

   Solution Type: Sun Alert

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

   Bug ID: 6755592

   Product
   Solaris 9 Operating System
   Solaris 10 Operating System
   OpenSolaris

   Date of Resolved Release: 25-Feb-2009

   SA Document Body

   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:
     * CVE-2008-1232 at:
       http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1232
     * CVE-2008-1947 at:
       http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1947
     * CVE-2008-2370 at:
       http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2370

   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 Technical
   Instruction ID 213557.

   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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFJpyt0NVH5XJJInbgRAnIpAJ0a9s2YGLF+NoGfsP2su5q3nZYcMwCfVQXj
AHMiMy00A6yMN4gk5ORqMzY=
=D7La
-----END PGP SIGNATURE-----