ESB-2017.1829 - [RedHat] Red Hat JBoss Web Server: Multiple vulnerabilities 2017-07-26

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

                               ESB-2017.1829
 Important: Red Hat JBoss Web Server 3.1.0 Service Pack 1 security update
                               26 July 2017

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

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

Product:           Red Hat JBoss Web Server
Publisher:         Red Hat
Operating System:  Red Hat
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Denial of Service               -- Remote/Unauthenticated      
                   Provide Misleading Information  -- Remote/Unauthenticated      
                   Access Confidential Data        -- Remote/Unauthenticated      
                   Unauthorised Access             -- Remote/Unauthenticated      
                   Reduced Security                -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-5664 CVE-2017-5648 CVE-2017-5647
                   CVE-2017-5645  

Reference:         ASB-2017.0109
                   ESB-2017.1665
                   ESB-2017.1186
                   ESB-2017.1102
                   ESB-2017.1101

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2017:1801
   https://access.redhat.com/errata/RHSA-2017:1802

Comment: This bulletin contains two (2) Red Hat security advisories.

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

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

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

Synopsis:          Important: Red Hat JBoss Web Server 3.1.0 Service Pack 1 security update
Advisory ID:       RHSA-2017:1801-01
Product:           Red Hat JBoss Web Server
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:1801
Issue date:        2017-07-25
CVE Names:         CVE-2017-5645 CVE-2017-5647 CVE-2017-5648 
                   CVE-2017-5664 
=====================================================================

1. Summary:

An update is now available for Red Hat JBoss Web Server 3.1 for RHEL 6 and
Red Hat JBoss Web Server 3.1 for RHEL 7.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat JBoss Web Server 3.1 for RHEL 6 - i386, noarch, x86_64
Red Hat JBoss Web Server 3.1 for RHEL 7 - noarch, x86_64

3. Description:

Red Hat JBoss Web Server is a fully integrated and certified set of
components for hosting Java web applications. It is comprised of the Apache
HTTP Server, the Apache Tomcat Servlet container, Apache Tomcat Connector
(mod_jk), JBoss HTTP Connector (mod_cluster), Hibernate, and the Tomcat
Native library.

This release of Red Hat JBoss Web Server 3.1 Service Pack 1 serves as a
replacement for Red Hat JBoss Web Server 3.1, and includes bug fixes, which
are documented in the Release Notes document linked to in the References.

Security Fix(es):

* It was found that when using remote logging with log4j socket server the
log4j server would deserialize any log event received via TCP or UDP. An
attacker could use this flaw to send a specially crafted log event that,
during deserialization, would execute arbitrary code in the context of the
logger application. (CVE-2017-5645)

* A vulnerability was discovered in tomcat's handling of pipelined requests
when "Sendfile" was used. If sendfile processing completed quickly, it was
possible for the Processor to be added to the processor cache twice. This
could lead to invalid responses or information disclosure. (CVE-2017-5647)

* A vulnerability was discovered in the error page mechanism in Tomcat's
DefaultServlet implementation. A crafted HTTP request could cause undesired
side effects, possibly including the removal or replacement of the custom
error page. (CVE-2017-5664)

* A vulnerability was discovered in tomcat. When running an untrusted
application under a SecurityManager it was possible, under some
circumstances, for that application to retain references to the request or
response objects and thereby access and/or modify information associated
with another web application. (CVE-2017-5648)

4. Solution:

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

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

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

1441205 - CVE-2017-5647 tomcat: Incorrect handling of pipelined requests when send file was used
1441223 - CVE-2017-5648 tomcat: Calls to application listeners did not use the appropriate facade object
1443635 - CVE-2017-5645 log4j: Socket receiver deserialization vulnerability
1459158 - CVE-2017-5664 tomcat: Security constrained bypass in error page mechanism

6. JIRA issues fixed (https://issues.jboss.org/):

JWS-657 - tomcat-native installs RHEL apr in addition to jbcs-httpd24-httpd-libs
JWS-667 - Subject incorrectly removed from user session
JWS-695 - tomcat7_t and tomcat8_t domains are in unconfined_domain
JWS-709 - RPM missing selinux-policy dependency
JWS-716 - Backport 60087 for Tomcat 8
JWS-717 - RFC 7230/3986 url requirement that prevents unencoded curly braces should be optional, since it breaks existing sites
JWS-721 - CORS filter Vary header missing
JWS-725 - /usr/share/tomcat7 needs world execute permissions to function on openshift v2
JWS-741 - Configurations in conf.d are not applied
JWS-760 - [ASF BZ 59961] Provide an option to enable/disable processing of Class-Path entry in a jar's manifest file

7. Package List:

Red Hat JBoss Web Server 3.1 for RHEL 6:

Source:
log4j-eap6-1.2.16-12.redhat_3.1.ep6.el6.src.rpm
tomcat-native-1.2.8-10.redhat_10.ep7.el6.src.rpm
tomcat7-7.0.70-22.ep7.el6.src.rpm
tomcat8-8.0.36-24.ep7.el6.src.rpm

i386:
tomcat-native-1.2.8-10.redhat_10.ep7.el6.i686.rpm
tomcat-native-debuginfo-1.2.8-10.redhat_10.ep7.el6.i686.rpm

noarch:
log4j-eap6-1.2.16-12.redhat_3.1.ep6.el6.noarch.rpm
tomcat7-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-admin-webapps-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-docs-webapp-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-el-2.2-api-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-javadoc-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-jsp-2.2-api-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-jsvc-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-lib-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-log4j-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-selinux-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-servlet-3.0-api-7.0.70-22.ep7.el6.noarch.rpm
tomcat7-webapps-7.0.70-22.ep7.el6.noarch.rpm
tomcat8-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-admin-webapps-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-docs-webapp-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-el-2.2-api-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-javadoc-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-jsp-2.3-api-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-jsvc-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-lib-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-log4j-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-selinux-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-servlet-3.1-api-8.0.36-24.ep7.el6.noarch.rpm
tomcat8-webapps-8.0.36-24.ep7.el6.noarch.rpm

x86_64:
tomcat-native-1.2.8-10.redhat_10.ep7.el6.x86_64.rpm
tomcat-native-debuginfo-1.2.8-10.redhat_10.ep7.el6.x86_64.rpm

Red Hat JBoss Web Server 3.1 for RHEL 7:

Source:
log4j-eap6-1.2.16-12.redhat_3.1.ep6.el7.src.rpm
tomcat-native-1.2.8-10.redhat_10.ep7.el7.src.rpm
tomcat7-7.0.70-22.ep7.el7.src.rpm
tomcat8-8.0.36-24.ep7.el7.src.rpm

noarch:
log4j-eap6-1.2.16-12.redhat_3.1.ep6.el7.noarch.rpm
tomcat7-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-admin-webapps-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-docs-webapp-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-el-2.2-api-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-javadoc-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-jsp-2.2-api-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-jsvc-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-lib-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-log4j-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-selinux-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-servlet-3.0-api-7.0.70-22.ep7.el7.noarch.rpm
tomcat7-webapps-7.0.70-22.ep7.el7.noarch.rpm
tomcat8-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-admin-webapps-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-docs-webapp-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-el-2.2-api-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-javadoc-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-jsp-2.3-api-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-jsvc-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-lib-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-log4j-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-selinux-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-servlet-3.1-api-8.0.36-24.ep7.el7.noarch.rpm
tomcat8-webapps-8.0.36-24.ep7.el7.noarch.rpm

x86_64:
tomcat-native-1.2.8-10.redhat_10.ep7.el7.x86_64.rpm
tomcat-native-debuginfo-1.2.8-10.redhat_10.ep7.el7.x86_64.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/

8. References:

https://access.redhat.com/security/cve/CVE-2017-5645
https://access.redhat.com/security/cve/CVE-2017-5647
https://access.redhat.com/security/cve/CVE-2017-5648
https://access.redhat.com/security/cve/CVE-2017-5664
https://access.redhat.com/security/updates/classification/#important

9. Contact:

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

Copyright 2017 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFZd3byXlSAg2UNWIIRAtRWAJ9Te0IfpivK9CimMmNplSEKse3isgCePN1K
uf6N2qA8ipjhxaVXeCqG0P4=
=57v0
- -----END PGP SIGNATURE-----

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

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

Synopsis:          Important: Red Hat JBoss Web Server Service Pack 1 security update
Advisory ID:       RHSA-2017:1802-01
Product:           Red Hat JBoss Web Server
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2017-1802.html
Issue date:        2017-07-25
CVE Names:         CVE-2017-5645 CVE-2017-5647 CVE-2017-5648 
                   CVE-2017-5664 
=====================================================================

1. Summary:

An update is now available for Red Hat JBoss Web Server 3.1.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Description:

Red Hat JBoss Web Server is a fully integrated and certified set of
components for hosting Java web applications. It is comprised of the Apache
HTTP Server, the Apache Tomcat Servlet container, Apache Tomcat Connector
(mod_jk), JBoss HTTP Connector (mod_cluster), Hibernate, and the Tomcat
Native library.

This release of Red Hat JBoss Web Server 3.1 Service Pack 1 serves as a
replacement for Red Hat JBoss Web Server 3.1, and includes bug fixes, which
are documented in the Release Notes document linked to in the References.

Security Fix(es):

* It was found that when using remote logging with log4j socket server the
log4j server would deserialize any log event received via TCP or UDP. An
attacker could use this flaw to send a specially crafted log event that,
during deserialization, would execute arbitrary code in the context of the
logger application. (CVE-2017-5645)

* A vulnerability was discovered in tomcat's handling of pipelined requests
when "Sendfile" was used. If sendfile processing completed quickly, it was
possible for the Processor to be added to the processor cache twice. This
could lead to invalid responses or information disclosure. (CVE-2017-5647)

* A vulnerability was discovered in the error page mechanism in Tomcat's
DefaultServlet implementation. A crafted HTTP request could cause undesired
side effects, possibly including the removal or replacement of the custom
error page. (CVE-2017-5664)

* A vulnerability was discovered in tomcat. When running an untrusted
application under a SecurityManager it was possible, under some
circumstances, for that application to retain references to the request or
response objects and thereby access and/or modify information associated
with another web application. (CVE-2017-5648)

3. Solution:

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

The References section of this erratum contains a download link (you must
log in to download the update).

4. Bugs fixed (https://bugzilla.redhat.com/):

1441205 - CVE-2017-5647 tomcat: Incorrect handling of pipelined requests when send file was used
1441223 - CVE-2017-5648 tomcat: Calls to application listeners did not use the appropriate facade object
1443635 - CVE-2017-5645 log4j: Socket receiver deserialization vulnerability
1459158 - CVE-2017-5664 tomcat: Security constrained bypass in error page mechanism

5. References:

https://access.redhat.com/security/cve/CVE-2017-5645
https://access.redhat.com/security/cve/CVE-2017-5647
https://access.redhat.com/security/cve/CVE-2017-5648
https://access.redhat.com/security/cve/CVE-2017-5664
https://access.redhat.com/security/updates/classification/#important
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=webserver&downloadType=securityPatches&version=3.1
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Web_Server/3/html-single/3.1_Release_Notes/index.html
https://access.redhat.com/security/vulnerabilities/httpoxy
https://access.redhat.com/solutions/2435491

6. Contact:

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

Copyright 2017 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFZd4TuXlSAg2UNWIIRAsyQAJ4vpBzwSZdS5gI+PGd1qGbvrKGARwCgtWAa
bfq2sLi0n/VBtpl/ytEfWkc=
=ylBv
- -----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

iQIVAwUBWXfziox+lLeg9Ub1AQjUcw/+K8h8dqgNzDYczDQ880KG4/23XXrKlSTc
BC14iAUyk6Z9yqfmCo07hxGpsKbhYDU9i6YVvLgIuOGQsa70jAH9hZAKxPN+vhaq
wlPXFXXpyJSwefLkXDdz2OGRArVAAsxcqVYLxxQQt1+Wwt3x0vgtxpgorvJhNrYT
XgWHDu9boYDsKe3Qp3j7CD+4yUthXa0g2/D/+JeYVtAU8XlYsNLd6ZYTIWixnWXq
VIeGLvbRvT6dVzK4Ebb4ZMOHpNVTgyjUx0r3YGqQ1JecywwaMAE2wKQNE2rxiCYu
98MWQ4D4/j4GIngWOe9v1w5tglH9+TBVEtDZCJ4WZj3TNWpDHu6kgm7fKamAa0iu
GGY4gX4E0PlUshgNY1/+oKosDRK40aD9Rd5mYEGLxAdy4Sjx4uUngW/vhUCO++LA
t7UbyqqqTbrF+vmRNCrmx7ly842lL3r3mUKDlbFKp8N2IR9ivlHJCt1TWwjK3puJ
rdkLqiGiXvCeDZ8dOnFF/N9o0mIB0TLTTZL/oBwTOjN+slpv0JLdtoF+pI/gn1iT
2/m6BENsylGYV/LJ495t0Y5JK9Rr6uXi6h5mzBK/qxt7qjvT9ZG9ZWbXVL5zgAAY
ClVre8svmv9hYDHZKarqazZwpcpC3R13XNoHBtH7R6Uem9L/DmNp8RCKog2hWqHg
8uSxWFMsY58=
=8ZCn
-----END PGP SIGNATURE-----

« Back to bulletins