CVE-2011-5245: Infoleak

Published Jan 30, 2012
·
Updated

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

Other sources

The readFrom function in providers.jaxb.JAXBXmlTypeProvider in RESTEasy before 2.3.2 allows remote attackers to read arbitrary files via an external entity reference in a Java Architecture for XML Binding (JAXB) input, aka an XML external entity (XXE) injection attack, a similar vulnerability to CVE-2012-0818.

Affected Software

15 affected componentsFixes available
maven/org.jboss.resteasy:resteasy-jaxb-provider<2.3.2
2.3.2
redhat resteasy<=2.3.1
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
redhat resteasy=2.3.0

Event History

Jan 30, 2012
Data Sourced
via Red Hat·04:48 AM
DescriptionSeverityAffected Software
Nov 23, 2012
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
May 17, 2022
Advisory Published
01:50 AM

Frequently Asked Questions

1

What is the severity of CVE-2011-5245?

CVE-2011-5245 is classified as a critical vulnerability due to its potential for remote file access.

2

How do I fix CVE-2011-5245?

To fix CVE-2011-5245, upgrade the RESTEasy library to version 2.3.2 or later.

3

Which versions are affected by CVE-2011-5245?

CVE-2011-5245 affects all versions of RESTEasy prior to 2.3.2, including versions 1.0.0 through 2.3.1.

4

What type of attack does CVE-2011-5245 permit?

CVE-2011-5245 permits XML eXternal Entity (XXE) attacks, which can lead to unauthorized file access.

5

Can I continue using RESTEasy if I have CVE-2011-5245?

It is highly discouraged to continue using affected versions of RESTEasy, as this could expose your application to critical risks.

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