Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs

Security Vulnerability in Tomcat 3.2.X versions
HPSBUX0209-222
Published: 2002-09-30 14:39:30
Updated: 2002-09-30 14:39:30

 -----------------------------------------------------------------
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0209-222
 Originally issued: 30 Sep 2002
 SSRT2377 Security Vulnerability in Tomcat 3.2.X versions
 -----------------------------------------------------------------

NOTICE: There are no restrictions for distribution of this
Bulletin provided that it remains complete and intact.

The information in the following Security Bulletin should be
acted upon as soon as possible.  Hewlett-Packard Company will
not be liable for any consequences to any customer resulting
from customer's failure to fully implement instructions in this
Security Bulletin as soon as possible.

 ------------------------------------------------------------------
PROBLEM:  HP-UX 11.04 (VVOS) with Apache-Tomcat 3.2.x versions
          have a connector issue allowing potential unauthorized
          access to files.

IMPACT:   Potential unauthorized directory listing.

PLATFORM: HP9000 Series 700/800 running HP-UX release 11.04
          (VVOS) only with any of the following products
          installed:

           HP-UX 11.04, Virtualvault A.04.50
           HP-UX 11.04, Virtualvault A.04.60

SOLUTION: For HP-UX release 11.04 (VVOS), apply patches
          PHSS_27921 - for Virtualvault A.04.50 release,
          PHSS_27922 - for Virtualvault A.04.60 release.

          Also follow the recommendations given in the
          "Recommended solution" section below.

MANUAL ACTIONS: Yes - NonUpdate
                On HP-UX 11.04 only, If Tomcat 3.2.x is integrated
                with either mod_jk or mod_jserv connectors, append
                lines to configuration files as specified below.

AVAILABILITY: Patches are available now on itrc.hp.com.

 ------------------------------------------------------------------
 A. Background
    Virtualvault A.04.50 and Virtualvault A.04.60 have been
    released with Tomcat 3.2.x, and Apache-Tomcat mod_jk and
    mod_jserv connectors for Tomcat 3.2.x versions.  There
    is a potential defect in Tomcat 3.2.x versions.  When the
    Tomcat server 3.2.x is accessed with a special URL, the
    contents of an inside directory will be listed.

 B. Recommended solution
    1. To avoid the vulnerability in the Tomcat server that
       is integrated with Virtualvault administration Apache
       web server, apply the following patches to the
       Virtualvault release specified.
          Virtualvault A.04.50     PHSS_27921
          Virtualvault A.04.60     PHSS_27922

    2. If Tomcat 3.2.x server is integrated with outside
       Apache web server using mod_jk connector, add the
       following lines at the end of the mod_jk configuration
       file of the Tomcat server.

          #
          # The following line prohibits users from
          # exploiting the directory listing vulnerability
          #
          <LocationMatch "/(%3f|\?)\.jsp">
              AllowOverride None
              Deny from all
          </LocationMatch>

       NOTE: The default mod_jk configuration file for the
             Tomcat server that is integrated with the
             outside web server is,
             =
"/var/opt/vaultTS/inside/app/tomcat/conf/mod_jk.conf-demo".

    3. If Tomcat 3.2.x server is integrated with outside
       Apache web server using mod_jserv connector, add the
       following lines at the end of the mod_jserv
       configuration file of the Tomcat server.

          #
          # The following line prohibits users from
          # exploiting the directory listing vulnerability
          #
          <LocationMatch "/(%3f|\?)\.jsp">
              AllowOverride None
              Deny from all
          </LocationMatch>

       NOTE: The default mod_jserv configuration file for the
             Tomcat server that is integrated with the
             outside web server is,
             =
"/var/opt/vaultTS/inside/app/tomcat/conf/tomcat-apache.conf"

 ------------------------------------------------------------------

 C. To subscribe to automatically receive future NEW HP Security
    Bulletins from the HP IT Resource Center via electronic
    mail, do the following:

    Use your browser to get to the HP IT Resource Center page
    at:

       http://itrc.hp.com

    Use the 'Login' tab at the left side of the screen to login
    using your ID and password.  Use your existing login or the
    "Register" button at the left to create a login, in order to
    gain access to many areas of the ITRC.  Remember to save the
    User ID assigned to you, and your password.

    In the left most frame select "Maintenance and Support".

    Under the "Notifications" section (near the bottom of
    the page), select "Support Information Digests".

    To -subscribe- to future HP Security Bulletins or other
    Technical Digests, click the check box (in the left column)
    for the appropriate digest and then click the "Update
    Subscriptions" button at the bottom of the page.

    or

    To -review- bulletins already released, select the link
    (in the middle column) for the appropriate digest.

    To -gain access- to the Security Patch Matrix, select
    the link for "The Security Bulletins Archive".  (near the
    bottom of the page)  Once in the archive the third link is
    to the current Security Patch Matrix. Updated daily, this
    matrix categorizes security patches by platform/OS release,
    and by bulletin topic.  Security Patch Check completely
    automates the process of reviewing the patch matrix for
    11.XX systems.

    For information on the Security Patch Check tool, see:
    http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/
    displayProductInfo.pl?productNumber=B6834AA

    The security patch matrix is also available via anonymous
    ftp:

    ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

    On the "Support Information Digest Main" page:
    click on the "HP Security Bulletin Archive".

 D. To report new security vulnerabilities, send email to

    security-alert@hp.com

    Please encrypt any exploit information using the
    security-alert PGP key, available from your local key
    server, or by sending a message with a -subject- (not body)
    of 'get key' (no quotes) to security-alert@hp.com.

 ----------------------------------------------------------------

(c) Copyright 2002 Hewlett-Packard Company
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
in this document is subject to change without notice.
Hewlett-Packard Company and the names of HP products referenced
herein are trademarks and/or service marks of Hewlett-Packard
Company.  Other product and company names mentioned herein may be
trademarks and/or service marks of their respective owners.







 

Privacy Statement
Copyright 2008, SecurityFocus