Operating System:


30 January 2003

Protect yourself against future threats.


             AUSCERT External Security Bulletin Redistribution

            ESB-2003.0065 -- Debian Security Advisory DSA 246-1
   New tomcat packages fix information exposure and cross site scripting
                              30 January 2003


        AusCERT Security Bulletin Summary

Product:                tomcat
Vendor:                 Debian
Operating System:       Debian GNU/Linux 3.0
Impact:                 Increased Privileges
                        Execute Arbitrary Code/Commands
                        Read-only Data Access
Access Required:        Remote

Comment: CVE Id: CAN-2003-0042

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

Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 246-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 29th, 2003                      http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : tomcat
Vulnerability  : information exposure, cross site scripting
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2003-0042 CAN-2003-0043 CAN-2003-0044

The developers of tomcat discovered several problems in tomcat version
3.x.  The Common Vulnerabilities and Exposures project identifies the
following problems:

 . CAN-2003-0042: A maliciously crafted request could return a
   directory listing even when an index.html, index.jsp, or other
   welcome file is present.  File contents can be returned as well.

 . CAN-2003-0043: A malicious web application could read the contents
   of some files outside the web application via its web.xml file in
   spite of the presence of a security manager.  The content of files
   that can be read as part of an XML document would be accessible.

 . CAN-2003-0044: A cross-site scripting vulnerability was discovered
   in the included sample web application that allows remote attackers
   to execute arbitrary script code.

For the stable distribution (woody) this problem has been fixed in
version 3.3a-4.1.

The old stable distribution (potato) does not contain tomcat packages.

For the unstable distribution (sid) this problem has been fixed in
version 3.3.1a-1.

We recommend that you upgrade your tomcat package.

Upgrade Instructions
- - --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
- - --------------------------------

  Source archives:

      Size/MD5 checksum:      714 1c34b1fdedf90ea10531ed12a8c6ae0b
      Size/MD5 checksum:    15146 c58c7edd2df1a806b510068ab7a9a04f
      Size/MD5 checksum:  2087545 2df39325c7293ee11ae5547281ca1077

  Architecture independent components:

      Size/MD5 checksum:  1196810 1ed6efa36586a8a3d3b527aeebbc4531

  Intel IA-32 architecture:

      Size/MD5 checksum:    51522 1e11d6a43654fc6d921c8bc90ad15b4b

  These files will probably be moved into the stable distribution on
  its next revision.

- - ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

Version: GnuPG v1.2.1 (GNU/Linux)


- --------------------------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.

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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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:


If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

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.

Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967