CVE-2012-0818 Exposure of Sensitive Information to an Unauthorized Actor in RESTEasy

Medium 5.0 Published Updated

Remote attackers can read arbitrary files via XML external entity injection in RESTEasy, requiring an upgrade to secure the application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0818?

CVE-2012-0818 is a medium-severity vulnerability in n/a, published on 23 Nov 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-200

Which versions are affected by CVE-2012-0818?

2 open source packages ship an affected version, including org.jboss.resteasy:resteasy-client. It affects 1 product.

PackageAffectedFixed in
org.jboss.resteasy:resteasy-client MavenAll versions2.3.1
org.jboss.resteasy:resteasy-client MavenAll versions2.3.1
Linux distribution packages (22)
otopi Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
otopi-devel Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
otopi-java Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
otopi-repolib Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
ovirt-host-deploy Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
ovirt-host-deploy-java Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
ovirt-host-deploy-repolib Red Hat:storage:2.1:console:el6All versions0:1.1.0-1.el6ev
python-daemon Red Hat:storage:2.1:console:el6All versions0:1.5.2-1.el6
python-kitchen Red Hat:storage:2.1:console:el6All versions0:1.1.1-2.el6ev
python-lockfile Red Hat:storage:2.1:console:el6All versions0:0.8-5.el6
python-ply Red Hat:storage:2.1:console:el6All versions0:3.3-7.el6ev
redhat-access-plugin-storage Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.el6rhs
rhsc Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs
rhsc-backend Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs
rhsc-cli Red Hat:storage:2.1:console:el6All versions0:2.1.0.0-0.bb3a.el6rhs
rhsc-dbscripts Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs
rhsc-log-collector Red Hat:storage:2.1:console:el6All versions0:2.1-0.1.el6rhs
rhsc-restapi Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs
rhsc-sdk Red Hat:storage:2.1:console:el6All versions0:2.1.0.0-0.bb3a.el6rhs
rhsc-setup Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs
rhsc-tools Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs
rhsc-webadmin-portal Red Hat:storage:2.1:console:el6All versions0:2.1.0-0.bb10.el6rhs

Products include Redhat Resteasy.

How do I fix CVE-2012-0818?

Upgrade org.jboss.resteasy:resteasy-client to 2.3.1 or later.

Is CVE-2012-0818 being exploited?

There is no known exploitation of CVE-2012-0818 in the wild and no public exploit code.

Sources

Also known as GHSA-wrrh-g7h3-gqmx, RHSA-2013:1263.

Is CVE-2012-0818 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free