Operating System:

Published:

30 January 2003

Protect yourself against future threats.

-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             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
                        Linux
                        UNIX
Impact:                 Increased Privileges
                        Execute Arbitrary Code/Commands
                        Read-only Data Access
Access Required:        Remote

Comment: CVE Id: CAN-2003-0042
                 CAN-2003-0043
                 CAN-2003-0044

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

- -----BEGIN PGP SIGNED MESSAGE-----
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:

    http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a-4woody1.dsc
      Size/MD5 checksum:      714 1c34b1fdedf90ea10531ed12a8c6ae0b
    http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a-4woody1.diff.gz
      Size/MD5 checksum:    15146 c58c7edd2df1a806b510068ab7a9a04f
    http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a.orig.tar.gz
      Size/MD5 checksum:  2087545 2df39325c7293ee11ae5547281ca1077

  Architecture independent components:

    http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a-4woody1_all.deb
      Size/MD5 checksum:  1196810 1ed6efa36586a8a3d3b527aeebbc4531

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/contrib/t/tomcat/libapache-mod-jk_3.3a-4woody1_i386.deb
      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>

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+N/TpW5ql+IAeqTIRAi1fAJsF7p6nwT3eWlMcgwDMoklRlIDKMQCgkt6A
ZsJ1tFLZXiWzlCEG8OpXypw=
=2oOS
- -----END PGP SIGNATURE-----

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

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

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

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-----
Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPjlOYyh9+71yA2DNAQHcHwP/XAwtJugltG4TFmqaH/s0w1ZyPvdiPuA+
UM1lEOdQdMexuIZiuNeSv79Xkxiffmta9JTgDbe7aGlcuI7iXpZl9Su2KdwgPow5
BpI4NNxSsOz8iozBpwcGwHSVQVEh7z22/YRAFtFVzRWxm9xCfOmhK1idIu8NY+Vo
y1WsAa65mJo=
=asVm
-----END PGP SIGNATURE-----