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

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

                               ESB-2011.0673
            CVE-2011-2204 Apache Tomcat information disclosure
                               28 June 2011

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

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

Product:          Apache Tomcat
Publisher:        The Apache Software Foundation
Operating System: UNIX variants (UNIX, Linux, OSX)
                  Windows
Impact/Access:    Access Confidential Data -- Remote with User Interaction
Resolution:       Patch/Upgrade
CVE Names:        CVE-2011-2204  

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

CVE-2011-2204 Apache Tomcat information disclosure

Severity: Low
Vendor: The Apache Software Foundation

Versions Affected:
- - Tomcat 7.0.0 to 7.0.16
- - Tomcat 6.0.0 to 6.0.32
- - Tomcat 5.5.0 to 5.5.33
Earlier, unsupported versions may also be affected

Description:
When using the MemoryUserDatabase (based on tomcat-users.xml) and
creating users via JMX, an exception during the user creation process
may trigger an error message in the JMX client that includes the user's
password. This error message is also written to the Tomcat logs. User
passwords are visible to administrators with JMX access and/or
administrators with read access to the tomcat-users.xml file. Users that
do not have these permissions but are able to read log files may be able
to discover a user's password.

Steps to reproduce:
The Tomcat security team has been unable to reproduce this error without
forcing an exception by modifying the Tomcat source code. In theory, an
OutOfMemoryError at exactly the right point could trigger this
vulnerability.

Mitigation:
Users of affected versions should apply one of the following mitigations:
- - Don't manage the MemoryUserDatabase via JMX
- - Use digested passwords
- - Limit access to Tomcat log files
- - Upgrade to a Tomcat 7.0.17, 6.0.33 or 5.5.34 or later once released
- - Apply the appropriate patch
  - 7.0.x: http://svn.apache.org/viewvc?rev=1140070&view=rev
  - 6.0.x: http://svn.apache.org/viewvc?rev=1140071&view=rev
  - 5.5.x: http://svn.apache.org/viewvc?rev=1140072&view=rev

Credit:
This issue was identified by Polina Genova and reported privately to the
Tomcat Security Team via security@tomcat.apache.org.

References:
http://tomcat.apache.org/security.html
http://tomcat.apache.org/security-7.html
http://tomcat.apache.org/security-6.html
http://tomcat.apache.org/security-5.html



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

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

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

iQIVAwUBTgkoue4yVqjM2NGpAQLlMQ/+Jlvv+LeLib2Vfb9IkUjmuWKD9avNn7hC
paMK/+oZ1xLPkl2SwLFlHU7kC/zZkSj2JJ1fL40Xq2yPwI8Z+MDlJKdMNBr9fxnj
qoI7cxishvkNoyiICs+UzgPjBbYQZUg0g39BJYG9zk1cR8dA1XebC8hmhvmUFFX4
skZtIFzIUyJVLasgKHaciSdRrVWZXfD9Od6Ltv8dUpzmQfTOoCuzsK01z2iY7CKw
2+eOrf7JCi4NipK6+8IechMIfHu4kexRUrb2lKs0mpomKD87wfMpo0TqZyD3zD8g
wiC4TTFVkdCGMbz4BdtoCG3ttNQx4r1nKkvEOVjeXS50i0TE4PTkKfvjSBaLLMum
5yio4mIEwzIzG9jxe8cDJtIwJaf1OD79GbsEv3M03VVGOg49LLU6O6ikucfPk6D+
QvT+hOjQuUHvdqpxjBUtx5bP3Tjxe4bcsJJu5uPE5FT16lIcJZ17ADx7bDN79RMp
m6EPSrBcrEoUgVlI51H9fpZhdX43bcpHAyfG1HyN7m/gWB7xTDNKbu/lTYE5bfCS
NtA/wJtSK4rWOGBJGkR8pMNoZ61qAUlQcb+wi7pfETP9Ql7h1JtvrzpiwsQdeNPY
sSSOU6slf5OgV6Mzylj21Bug1e0KD3s+kt0//Tfsk1Bl50UlPV2bDozyjB78HZLK
i9nn96H/21E=
=o1UR
-----END PGP SIGNATURE-----