Bug 1448753 (CVE-2017-7492) - REJECTED CVE-2017-7492 SourceProvider in RestEasy-jaxrs is vulnerable to XXE
Summary: REJECTED CVE-2017-7492 SourceProvider in RestEasy-jaxrs is vulnerable to XXE
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-7492
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1448754
Blocks: 1439976 1448257
TreeView+ depends on / blocked
 
Reported: 2017-05-08 01:55 UTC by Jason Shepherd
Modified: 2021-02-17 02:11 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-18 00:51:45 UTC


Attachments (Terms of Use)

Description Jason Shepherd 2017-05-08 01:55:01 UTC
RESTEasy SourceProvider unmarshals some content without XML External Entity protection. An attacker can use this flaw to launch an XXE attack on a RESTEasy endpoint which uses a wildcard mime-type of mulitpart mime-type. Its only possible to launch an attack if a mime-type of 'application/*+xml' is used specifically.

Comment 1 Jason Shepherd 2017-05-08 01:55:11 UTC
Acknowledgments:

Name: Katerina Novotna (Red Hat)

Comment 2 Jason Shepherd 2017-05-08 01:55:29 UTC
Created resteasy tracking bugs for this issue:

Affects: fedora-all [bug 1448754]

Comment 12 Jason Shepherd 2017-05-19 00:34:44 UTC
Statement:

After further analysis of this issue, it was determined that the flaw was in the XML Frameworks implementation on EAP 7, not in RESTEasy.

If you use a javax.xml.transform.TransformerFactory to process a javax.xml.transform.Source instance please be aware of this outstanding issue with that functionality on EAP 7.0.x:

https://bugzilla.redhat.com/show_bug.cgi?id=1451960


Note You need to log in before you can comment on or make changes to this bug.