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

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

                               ESB-2012.0645
                    Moderate: resteasy security update
                                6 July 2012

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

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

Product:           resteasy
Publisher:         Red Hat
Operating System:  Red Hat
                   Red Hat Enterprise Linux AS/ES/WS 4
                   Red Hat Enterprise Linux Server 5
                   Red Hat Enterprise Linux Server 6
Impact/Access:     Access Confidential Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-0818  

Reference:         ESB-2012.0409
                   ESB-2012.0335
                   ESB-2012.0315

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2012-1056.html
   https://rhn.redhat.com/errata/RHSA-2012-1057.html
   https://rhn.redhat.com/errata/RHSA-2012-1058.html
   https://rhn.redhat.com/errata/RHSA-2012-1059.html

Comment: This bulletin contains four (4) Red Hat security advisories.

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

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

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

Synopsis:          Moderate: resteasy security update
Advisory ID:       RHSA-2012:1056-01
Product:           JBoss Enterprise Application Platform
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1056.html
Issue date:        2012-07-05
CVE Names:         CVE-2012-0818 
=====================================================================

1. Summary:

An update for JBoss Enterprise Application Platform 5.1.2 that fixes one
security issue is now available from the Red Hat Customer Portal.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Description:

RESTEasy provides various frameworks to help you build RESTful web services
and RESTful Java applications.

It was found that RESTEasy was vulnerable to XML External Entity (XXE)
attacks. If a remote attacker submitted a request containing an external
XML entity to a RESTEasy endpoint, the entity would be resolved, allowing
the attacker to read files accessible to the user running the application
server. This flaw affected DOM (Document Object Model) Document and JAXB
(Java Architecture for XML Binding) input. (CVE-2012-0818)

Note: The fix for CVE-2012-0818 is not enabled by default. This update adds
a new configuration option to disable entity expansion in RESTEasy. If
applications on your server expose RESTEasy XML endpoints, a
resteasy.document.expand.entity.references configuration snippet must be
added to their web.xml file to disable entity expansion in RESTEasy. Refer
to Red Hat Bugzilla bug 785631 for details.

Warning: Before applying this update, back up your JBoss Enterprise
Application Platform's "jboss-as/server/[PROFILE]/deploy/" directory, along
with all other customized configuration files.

All users of JBoss Enterprise Application Platform 5.1.2 as provided from
the Red Hat Customer Portal are advised to install this update.

3. Solution:

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

The JBoss server process must be restarted for this update to take effect.

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

785631 - CVE-2012-0818 RESTEasy: XML eXternal Entity (XXE) flaw

5. References:

https://www.redhat.com/security/data/cve/CVE-2012-0818.html
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=appplatform&downloadType=securityPatches&version=5.1.2
https://bugzilla.redhat.com/show_bug.cgi?id=785631

6. Contact:

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

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

iD8DBQFP9e5gXlSAg2UNWIIRAhJrAKCrZ5iufDsVwwtMWuuiL5euLjNdLACgtKF1
XRo8ZXPB4zS+/MMp0N5HGy8=
=6SXw
- -----END PGP SIGNATURE-----

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

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

Synopsis:          Moderate: resteasy security update
Advisory ID:       RHSA-2012:1057-01
Product:           JBoss Enterprise Web Platform
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1057.html
Issue date:        2012-07-05
CVE Names:         CVE-2012-0818 
=====================================================================

1. Summary:

An update for JBoss Enterprise Web Platform 5.1.2 that fixes one security
issue is now available from the Red Hat Customer Portal.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Description:

RESTEasy provides various frameworks to help you build RESTful web services
and RESTful Java applications.

It was found that RESTEasy was vulnerable to XML External Entity (XXE)
attacks. If a remote attacker submitted a request containing an external
XML entity to a RESTEasy endpoint, the entity would be resolved, allowing
the attacker to read files accessible to the user running the application
server. This flaw affected DOM (Document Object Model) Document and JAXB
(Java Architecture for XML Binding) input. (CVE-2012-0818)

Note: The fix for CVE-2012-0818 is not enabled by default. This update adds
a new configuration option to disable entity expansion in RESTEasy. If
applications on your server expose RESTEasy XML endpoints, a
resteasy.document.expand.entity.references configuration snippet must be
added to their web.xml file to disable entity expansion in RESTEasy. Refer
to Red Hat Bugzilla bug 785631 for details.

Warning: Before applying this update, back up your JBoss Enterprise Web
Platform's "jboss-as-web/server/[PROFILE]/deploy/" directory and any other
customized configuration files.

All users of JBoss Enterprise Web Platform 5.1.2 as provided from the Red
Hat Customer Portal are advised to install this update.

3. Solution:

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

The JBoss server process must be restarted for this update to take effect.

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

785631 - CVE-2012-0818 RESTEasy: XML eXternal Entity (XXE) flaw

5. References:

https://www.redhat.com/security/data/cve/CVE-2012-0818.html
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=enterpriseweb.platform&downloadType=securityPatches&version=5.1.2
https://bugzilla.redhat.com/show_bug.cgi?id=785631

6. Contact:

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

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

iD8DBQFP9e53XlSAg2UNWIIRAi2VAKCy7baEBtSs6jOWnIiWiS37DrZWtACffV5y
AdsuoutfMVcuOdQB0VoaVz8=
=b00Z
- -----END PGP SIGNATURE-----

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

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

Synopsis:          Moderate: resteasy security update
Advisory ID:       RHSA-2012:1058-01
Product:           JBoss Enterprise Web Platform
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1058.html
Issue date:        2012-07-05
CVE Names:         CVE-2012-0818 
=====================================================================

1. Summary:

Updated resteasy packages that fix one security issue are now available for
JBoss Enterprise Web Platform 5.1.2 for Red Hat Enterprise Linux 4, 5, and
6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

JBoss Enterprise Web Platform 5 for RHEL 4 AS - noarch
JBoss Enterprise Web Platform 5 for RHEL 4 ES - noarch
JBoss Enterprise Web Platform 5 for RHEL 5 Server - noarch
JBoss Enterprise Web Platform 5 for RHEL 6 Server - noarch

3. Description:

RESTEasy provides various frameworks to help you build RESTful web services
and RESTful Java applications.

It was found that RESTEasy was vulnerable to XML External Entity (XXE)
attacks. If a remote attacker submitted a request containing an external
XML entity to a RESTEasy endpoint, the entity would be resolved, allowing
the attacker to read files accessible to the user running the application
server. This flaw affected DOM (Document Object Model) Document and JAXB
(Java Architecture for XML Binding) input. (CVE-2012-0818)

Note: The fix for CVE-2012-0818 is not enabled by default. This update adds
a new configuration option to disable entity expansion in RESTEasy. If
applications on your server expose RESTEasy XML endpoints, a
resteasy.document.expand.entity.references configuration snippet must be
added to their web.xml file to disable entity expansion in RESTEasy. Refer
to Red Hat Bugzilla bug 785631 for details.

Warning: Before applying this update, back up your JBoss Enterprise Web
Platform's "jboss-as-web/server/[PROFILE]/deploy/" directory and any other
customized configuration files.

Users of JBoss Enterprise Web Platform 5.1.2 on Red Hat Enterprise Linux 4,
5, and 6 should upgrade to these updated packages, which correct this
issue. The JBoss server process 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/):

785631 - CVE-2012-0818 RESTEasy: XML eXternal Entity (XXE) flaw

6. Package List:

JBoss Enterprise Web Platform 5 for RHEL 4 AS:

Source:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm

JBoss Enterprise Web Platform 5 for RHEL 4 ES:

Source:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm

JBoss Enterprise Web Platform 5 for RHEL 5 Server:

Source:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el5.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm

JBoss Enterprise Web Platform 5 for RHEL 6 Server:

Source:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el6.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el6.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el6.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el6.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.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-0818.html
https://access.redhat.com/security/updates/classification/#moderate
https://bugzilla.redhat.com/show_bug.cgi?id=785631

8. Contact:

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

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

iD8DBQFP9e6QXlSAg2UNWIIRAl0kAKCfXuM73OusPSglS9/qnmON1fM1CgCfRJgK
P2nynWwEhWqy2D0fB7l30x4=
=C5iI
- -----END PGP SIGNATURE-----

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

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

Synopsis:          Moderate: resteasy security update
Advisory ID:       RHSA-2012:1059-01
Product:           JBoss Enterprise Application Platform
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1059.html
Issue date:        2012-07-05
CVE Names:         CVE-2012-0818 
=====================================================================

1. Summary:

Updated resteasy packages that fix one security issue are now available for
JBoss Enterprise Application Platform 5.1.2 for Red Hat Enterprise Linux 4,
5, and 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

JBoss Enterprise Application Platform 5 for RHEL 4 AS - noarch
JBoss Enterprise Application Platform 5 for RHEL 4 ES - noarch
JBoss Enterprise Application Platform 5 for RHEL 5 Server - noarch
JBoss Enterprise Application Platform 5 for RHEL 6 Server - noarch

3. Description:

RESTEasy provides various frameworks to help you build RESTful web services
and RESTful Java applications.

It was found that RESTEasy was vulnerable to XML External Entity (XXE)
attacks. If a remote attacker submitted a request containing an external
XML entity to a RESTEasy endpoint, the entity would be resolved, allowing
the attacker to read files accessible to the user running the application
server. This flaw affected DOM (Document Object Model) Document and JAXB
(Java Architecture for XML Binding) input. (CVE-2012-0818)

Note: The fix for CVE-2012-0818 is not enabled by default. This update adds
a new configuration option to disable entity expansion in RESTEasy. If
applications on your server expose RESTEasy XML endpoints, a
resteasy.document.expand.entity.references configuration snippet must be
added to their web.xml file to disable entity expansion in RESTEasy. Refer
to Red Hat Bugzilla bug 785631 for details.

Warning: Before applying this update, back up your JBoss Enterprise
Application Platform's "jboss-as/server/[PROFILE]/deploy/" directory, along
with all other customized configuration files.

Users of JBoss Enterprise Application Platform 5.1.2 on Red Hat Enterprise
Linux 4, 5, and 6 should upgrade to these updated packages, which correct
this issue. The JBoss server process 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/):

785631 - CVE-2012-0818 RESTEasy: XML eXternal Entity (XXE) flaw

6. Package List:

JBoss Enterprise Application Platform 5 for RHEL 4 AS:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/JBEAP/SRPMS/resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm

JBoss Enterprise Application Platform 5 for RHEL 4 ES:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/JBEAP/SRPMS/resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.el4.noarch.rpm

JBoss Enterprise Application Platform 5 for RHEL 5 Server:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/JBEAP/SRPMS/resteasy-1.2.1-10.CP02_patch01.1.ep5.el5.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.el5.noarch.rpm

JBoss Enterprise Application Platform 5 for RHEL 6 Server:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/JBEAP/SRPMS/resteasy-1.2.1-10.CP02_patch01.1.ep5.el6.src.rpm

noarch:
resteasy-1.2.1-10.CP02_patch01.1.ep5.el6.noarch.rpm
resteasy-examples-1.2.1-10.CP02_patch01.1.ep5.el6.noarch.rpm
resteasy-javadoc-1.2.1-10.CP02_patch01.1.ep5.el6.noarch.rpm
resteasy-manual-1.2.1-10.CP02_patch01.1.ep5.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-0818.html
https://access.redhat.com/security/updates/classification/#moderate
https://bugzilla.redhat.com/show_bug.cgi?id=785631

8. Contact:

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

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

iD8DBQFP9e6sXlSAg2UNWIIRAj8VAKCKk+Z3Aw1wVUOOXkn8hwnJ1LYupQCfREXy
YNsngvPnB//q18YsIf9z02A=
=1QTN
- -----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

iQIVAwUBT/ZBMO4yVqjM2NGpAQIb2BAAu+Kraq0WsvoFdqZmJ8rLsCd5+XXhqImQ
OpxkK8zzDQkhBk31EtWrVliR7L+n9+Y4IwsZUC3wlCgnRPWf6RdWrWytWUEFfFeZ
tnw+yRkz2cDviP2BBBippFVcOhh6dqMatMJNa3KNK8GzeYrXBWdFtZb1GbFmhXCS
FkJv3GlABhHYAo1e+QPawIZ3uMT6dqNQfm+CRlUtXVGgqJk84EEdrXtNZnKKQuYv
vl4XXRgSoWkkVPKrK3FbcFTeSNTuFYj3K+lv+5XsCce3wYtXYA4vPp+6kBuanO1j
LlBsWWeREr+E+yGUG9uRbcDY3kFRo7MMT48hGP5qI2XtNIeg7WHDEyRenDkzNl1z
O9FfZJLCnsU6rx/CAPwxgm6RpY1G572EKJWluFZIk/0ddSv1dPooDY9L/srQaxAd
rQqc4vwED+ndEdmUK9cuYt+7h91zBVbLnQhZAUmpItiajeBxIfrT5Oh2RkWD9fKM
Qf0x6edStaNdkJ/MAZgTx4Ju6Z06ItpE0raMgnxU9si7y62Y2sYO6HcXjyNX+LI7
T9uveIteHI9BYhObOxlWw2SAh9W82oqlUCUGp16+z1rv+CLpMCdMAK9+8JAoKfrl
jNkIEO07GBcAtJsPfZeCMls4bE8+QV84CsXfmp6xay7NY6vGp1WApG9x6ceq57UF
aUaovq0o3wo=
=k0iX
-----END PGP SIGNATURE-----