Red Hat Security Advisory 2012-1059-01 - 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 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 and JAXB input.
e3a2bf9a1dc1efec91da14d3163b81d65b43040761d051feb37bae44cdf25454
-----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-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce