CVE-2012-0818: XEE

Published Dec 30, 2011
·
Updated

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

26 affected componentsFixes available
redhat/resteasy<0:1.2.1-10.CP02_patch01.1.ep5.el5
0:1.2.1-10.CP02_patch01.1.ep5.el5
redhat/resteasy<0:1.2.1-10.CP02_patch01.1.ep5.el6
0:1.2.1-10.CP02_patch01.1.ep5.el6
redhat/resteasy<0:1.2.1-10.CP02_patch01.1.ep5.el4
0:1.2.1-10.CP02_patch01.1.ep5.el4
redhat/otopi<0:1.1.0-1.el6e
0:1.1.0-1.el6e
redhat/ovirt-host-deploy<0:1.1.0-1.el6e
0:1.1.0-1.el6e
redhat/python-daemon<0:1.5.2-1.el6
0:1.5.2-1.el6
redhat/python-kitchen<0:1.1.1-2.el6e
0:1.1.1-2.el6e
redhat/python-lockfile<0:0.8-5.el6
0:0.8-5.el6
redhat/python-ply<0:3.3-7.el6e
0:3.3-7.el6e
redhat/redhat-access-plugin-storage<0:2.1.0-0.el6
0:2.1.0-0.el6
redhat/rhsc-cli<0:2.1.0.0-0.bb3a.el6
0:2.1.0.0-0.bb3a.el6
redhat/rhsc-log-collector<0:2.1-0.1.el6
0:2.1-0.1.el6
redhat/rhsc-sdk<0:2.1.0.0-0.bb3a.el6
0:2.1.0.0-0.bb3a.el6
redhat resteasy<=2.3.0
redhat resteasy=1.0.0
redhat resteasy=1.0.1
redhat resteasy=1.0.2
redhat resteasy=1.1
redhat resteasy=1.2
redhat resteasy=2.0.0
redhat resteasy=2.0.1
redhat resteasy=2.1.0
redhat resteasy=2.2.0
redhat resteasy=2.2.1
redhat resteasy=2.2.2
redhat resteasy=2.2.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/resteasy to a version that resolves this vulnerability.

    Fixed in 0:1.2.1-10.CP02_patch01.1.ep5.el5
  2. Upgrade

    Upgrade redhat/resteasy to a version that resolves this vulnerability.

    Fixed in 0:1.2.1-10.CP02_patch01.1.ep5.el6
  3. Upgrade

    Upgrade redhat/resteasy to a version that resolves this vulnerability.

    Fixed in 0:1.2.1-10.CP02_patch01.1.ep5.el4
  4. Upgrade

    Upgrade redhat/otopi to a version that resolves this vulnerability.

    Fixed in 0:1.1.0-1.el6e
  5. Upgrade

    Upgrade redhat/ovirt-host-deploy to a version that resolves this vulnerability.

    Fixed in 0:1.1.0-1.el6e
  6. Upgrade

    Upgrade redhat/python-daemon to a version that resolves this vulnerability.

    Fixed in 0:1.5.2-1.el6
  7. Upgrade

    Upgrade redhat/python-kitchen to a version that resolves this vulnerability.

    Fixed in 0:1.1.1-2.el6e
  8. Upgrade

    Upgrade redhat/python-lockfile to a version that resolves this vulnerability.

    Fixed in 0:0.8-5.el6
  9. Upgrade

    Upgrade redhat/python-ply to a version that resolves this vulnerability.

    Fixed in 0:3.3-7.el6e
  10. Upgrade

    Upgrade redhat/redhat-access-plugin-storage to a version that resolves this vulnerability.

    Fixed in 0:2.1.0-0.el6
  11. Upgrade

    Upgrade redhat/rhsc-cli to a version that resolves this vulnerability.

    Fixed in 0:2.1.0.0-0.bb3a.el6
  12. Upgrade

    Upgrade redhat/rhsc-log-collector to a version that resolves this vulnerability.

    Fixed in 0:2.1-0.1.el6
  13. Upgrade

    Upgrade redhat/rhsc-sdk to a version that resolves this vulnerability.

    Fixed in 0:2.1.0.0-0.bb3a.el6
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.3.1

Event History

Dec 30, 2011
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 23, 2012
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 29, 2019
Data Sourced
via Red Hat·12:50 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2012-0818?

CVE-2012-0818 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2012-0818?

To fix CVE-2012-0818, upgrade REDHAT RESTEasy to version 2.3.1 or later.

3

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.

4

Which versions of RESTEasy are affected by CVE-2012-0818?

Versions of RESTEasy before 2.3.1 are affected by CVE-2012-0818.

5

Is CVE-2012-0818 an XML external entity attack?

Yes, CVE-2012-0818 is specifically an XML external entity (XXE) injection attack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203