CVE-2012-0818: XEE
RESTEasy before 2.3.1 allows remote attackers to read arbitrary files via an external entity reference in a DOM document, aka an XML external entity (XXE) injection attack.
Other sources
RESTEasy permits XXE (XML eXternal Entity) attacks. If a RESTEasy endpoint is deployed, a user can submit a request containing an external XML entity. This XML entity will be resolved, allowing a remote attacker to read files in the context of the user running the application server. This flaw affects DOM Document, JAXB and Fast Infoset (FI) input.
Upstream bugs: https://issues.jboss.org/browse/RESTEASY-637 https://issues.jboss.org/browse/RESTEASY-647 https://issues.jboss.org/browse/RESTEASY-659
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/resteasyto a version that resolves this vulnerability.Fixed in 0:1.2.1-10.CP02_patch01.1.ep5.el5 - Upgrade
Upgrade
redhat/resteasyto a version that resolves this vulnerability.Fixed in 0:1.2.1-10.CP02_patch01.1.ep5.el6 - Upgrade
Upgrade
redhat/resteasyto a version that resolves this vulnerability.Fixed in 0:1.2.1-10.CP02_patch01.1.ep5.el4 - Upgrade
Upgrade
redhat/otopito a version that resolves this vulnerability.Fixed in 0:1.1.0-1.el6e - Upgrade
Upgrade
redhat/ovirt-host-deployto a version that resolves this vulnerability.Fixed in 0:1.1.0-1.el6e - Upgrade
Upgrade
redhat/python-daemonto a version that resolves this vulnerability.Fixed in 0:1.5.2-1.el6 - Upgrade
Upgrade
redhat/python-kitchento a version that resolves this vulnerability.Fixed in 0:1.1.1-2.el6e - Upgrade
Upgrade
redhat/python-lockfileto a version that resolves this vulnerability.Fixed in 0:0.8-5.el6 - Upgrade
Upgrade
redhat/python-plyto a version that resolves this vulnerability.Fixed in 0:3.3-7.el6e - Upgrade
Upgrade
redhat/redhat-access-plugin-storageto a version that resolves this vulnerability.Fixed in 0:2.1.0-0.el6 - Upgrade
Upgrade
redhat/rhsc-clito a version that resolves this vulnerability.Fixed in 0:2.1.0.0-0.bb3a.el6 - Upgrade
Upgrade
redhat/rhsc-log-collectorto a version that resolves this vulnerability.Fixed in 0:2.1-0.1.el6 - Upgrade
Upgrade
redhat/rhsc-sdkto a version that resolves this vulnerability.Fixed in 0:2.1.0.0-0.bb3a.el6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.3.1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2012-0818?
CVE-2012-0818 is classified as a moderate severity vulnerability.
How do I fix CVE-2012-0818?
To fix CVE-2012-0818, upgrade REDHAT RESTEasy to version 2.3.1 or later.
What is the impact of CVE-2012-0818?
The impact of CVE-2012-0818 allows remote attackers to read arbitrary files via an XML external entity injection.
Which versions of RESTEasy are affected by CVE-2012-0818?
Versions of RESTEasy before 2.3.1 are affected by CVE-2012-0818.
Is CVE-2012-0818 an XML external entity attack?
Yes, CVE-2012-0818 is specifically an XML external entity (XXE) injection attack.