Operating System:

[RedHat]

Published:

20 February 2013

Protect yourself against future threats.

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

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

                               ESB-2013.0224
                     Moderate: tomcat6 security update
                             20 February 2013

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

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

Product:           tomcat6
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 5
                   Red Hat Enterprise Linux Server 6
Impact/Access:     Cross-site Request Forgery -- Remote with User Interaction
                   Denial of Service          -- Remote/Unauthenticated      
                   Unauthorised Access        -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-5887 CVE-2012-5886 CVE-2012-5885
                   CVE-2012-4534 CVE-2012-4431 CVE-2012-2733

Reference:         ESB-2012.1134
                   ESB-2012.1056.2

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-0266.html

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

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

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: tomcat6 security update
Advisory ID:       RHSA-2013:0266-01
Product:           JBoss Enterprise Web Server
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-0266.html
Issue date:        2013-02-19
CVE Names:         CVE-2012-2733 CVE-2012-4431 CVE-2012-4534 
                   CVE-2012-5885 CVE-2012-5886 CVE-2012-5887 
=====================================================================

1. Summary:

Updated tomcat6 packages that fix multiple security issues are now
available for JBoss Enterprise Web Server 2.0.0 for Red Hat Enterprise
Linux 5 and 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

JBoss Enterprise Web Server 2 for RHEL 5 Server - noarch
JBoss Enterprise Web Server 2 for RHEL 6 Server - noarch

3. Description:

Apache Tomcat is a servlet container.

It was found that sending a request without a session identifier to a
protected resource could bypass the Cross-Site Request Forgery (CSRF)
prevention filter. A remote attacker could use this flaw to perform
CSRF attacks against applications that rely on the CSRF prevention filter
and do not contain internal mitigation for CSRF. (CVE-2012-4431)

A flaw was found in the way Tomcat handled sendfile operations when using
the HTTP NIO (Non-Blocking I/O) connector and HTTPS. A remote attacker
could use this flaw to cause a denial of service (infinite loop). The HTTP
NIO connector is used by default in JBoss Enterprise Web Server. The Apache
Portable Runtime (APR) connector from the Tomcat Native library was not
affected by this flaw. (CVE-2012-4534)

Multiple weaknesses were found in the Tomcat DIGEST authentication
implementation, effectively reducing the security normally provided by
DIGEST authentication. A remote attacker could use these flaws to perform
replay attacks in some circumstances. (CVE-2012-5885, CVE-2012-5886,
CVE-2012-5887)

A denial of service flaw was found in the way the Tomcat HTTP NIO connector
enforced limits on the permitted size of request headers. A remote attacker
could use this flaw to trigger an OutOfMemoryError by sending a
specially-crafted request with very large headers. The HTTP NIO connector
is used by default in JBoss Enterprise Web Server. The APR connector from
the Tomcat Native library was not affected by this flaw. (CVE-2012-2733)

Warning: Before applying the update, back up your existing JBoss Enterprise
Web Server installation (including all applications and configuration
files).

Users of Tomcat should upgrade to these updated packages, which resolve
these issues. Tomcat must be restarted for this update to take effect.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

873664 - CVE-2012-5885 CVE-2012-5886 CVE-2012-5887 tomcat: three DIGEST authentication implementation issues
873695 - CVE-2012-2733 tomcat: HTTP NIO connector OOM DoS via a request with large headers
883636 - CVE-2012-4431 Tomcat/JBoss Web - Bypass of CSRF prevention filter
883637 - CVE-2012-4534 Tomcat - Denial Of Service when using NIO+SSL+sendfile

6. Package List:

JBoss Enterprise Web Server 2 for RHEL 5 Server:

Source:
tomcat6-6.0.35-6_patch_06.ep6.el5.src.rpm

noarch:
tomcat6-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-admin-webapps-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-docs-webapp-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-el-1.0-api-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-javadoc-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-jsp-2.1-api-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-lib-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-log4j-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-servlet-2.5-api-6.0.35-6_patch_06.ep6.el5.noarch.rpm
tomcat6-webapps-6.0.35-6_patch_06.ep6.el5.noarch.rpm

JBoss Enterprise Web Server 2 for RHEL 6 Server:

Source:
tomcat6-6.0.35-29_patch_06.ep6.el6.src.rpm

noarch:
tomcat6-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-admin-webapps-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-docs-webapp-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-el-1.0-api-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-javadoc-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-jsp-2.1-api-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-lib-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-log4j-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-servlet-2.5-api-6.0.35-29_patch_06.ep6.el6.noarch.rpm
tomcat6-webapps-6.0.35-29_patch_06.ep6.el6.noarch.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2012-2733.html
https://www.redhat.com/security/data/cve/CVE-2012-4431.html
https://www.redhat.com/security/data/cve/CVE-2012-4534.html
https://www.redhat.com/security/data/cve/CVE-2012-5885.html
https://www.redhat.com/security/data/cve/CVE-2012-5886.html
https://www.redhat.com/security/data/cve/CVE-2012-5887.html
https://access.redhat.com/security/updates/classification/#moderate
http://tomcat.apache.org/security-6.html

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFRJA5gXlSAg2UNWIIRAv0aAKCzi0k+VkK+5+7EtoM0+N9VHydrIACfZ3O8
2UQP+qWrhV0etdXhUf0nYbA=
=ryw2
- -----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.

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

iQIVAwUBUSRsLu4yVqjM2NGpAQIsxg//aowHT4xpNiWfCDVj6HrmFJWAvQODSr1K
l3Lpnociw2bGVhF30CKcasKadyz6xs9lQ/xDzkPjD8QBw6VLK3MAn4GRVBx38AIC
+E0JtmGsQMK9527CgaOi09n4A05i/G8Uhfj2bdX0Shs5ZGhvcvBVCwQIRompgkjK
TFafSof5CZMIwVzBjygsZPDTiWYdNhPYeLLrNq9qVlUk5GPICC1oqG0Z+Hx6psJz
8R+Zd1ujIqWNwC1M1QmhUW7F6lsN37aH2QiCPot4WU6rDNL7RT8winPnS29FqFwI
ahYfGBohA0Z7KrgNUJTsx+nFZV0FkbMPimJa+BlZXTvyqHLJj5jIkCMWlonjhepf
47shkimpx0mxGDanvARGU+nbrzXoQvu53fR7vm24oAtIzVVONrsPhUUf/IVF8/Go
9NKbZf2aXJnXMP3M7tt18653X6RbfET/Fmu+a0j47/JSSaCm5Nv2JZMX9asXdxLr
PikZ8Kctb6rG780CkBrCrOuZlSlVObFZj9LV1LxbsgJi/khWPrOcTgi4Goa/YCY3
3iGf1KMK9wtTEyp42aS3FSS8Dd4ZtiT3eH2qQ2Ze4LfD4EtWqcJAm6UzuBmoXTVJ
mQ4oI1TGUjdO0o7O+P/7wxvVxndC5sz5fs6aVsWbf7hKn68rMEVU/Nl3XWoDBoU1
I62fKW13xcs=
=6XP6
-----END PGP SIGNATURE-----