Bug 1439980 (CVE-2017-7465) - CVE-2017-7465 JBoss: JAXP in EAP 7.0 allows RCE via XSL
Summary: CVE-2017-7465 JBoss: JAXP in EAP 7.0 allows RCE via XSL
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-7465
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1439976
TreeView+ depends on / blocked
 
Reported: 2017-04-07 02:01 UTC by Jason Shepherd
Modified: 2021-02-17 02:22 UTC (History)
51 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that the JAXP implementation used in EAP 7.0 for XSLT processing is vulnerable to code injection. An attacker could use this flaw to cause remote code execution if they are able to provide XSLT content for parsing.
Clone Of:
Environment:
Last Closed: 2020-06-15 17:20:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2563 0 None None None 2020-06-15 16:17:03 UTC

Description Jason Shepherd 2017-04-07 02:01:06 UTC
It was found that the JAXP implementation used in EAP 7.0 has insecure defaults for XSL processing. An attacker could use this flaw to cause remote code execution if they are able to provide XSLT for parsing.

Comment 1 Jason Shepherd 2017-04-07 02:01:18 UTC
Acknowledgments:

Name: Jason Shepherd (Red Hat)

Comment 5 Jason Shepherd 2017-04-11 22:48:15 UTC
Mitigation:

Doing a transform in JAXP requires the use of a 'javax.xml.transform.TransformerFactory'. If the FEATURE_SECURE_PROCESSING feature is set to 'true', it mitigates this vulnerability. Eg:

TransformerFactory factory = TransformerFactory.newInstance();
factory.setFeature(javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING, true);

Comment 7 errata-xmlrpc 2020-06-15 16:17:00 UTC
This issue has been addressed in the following products:

  EAP-CD 14 Tech Preview

Via RHSA-2020:2563 https://access.redhat.com/errata/RHSA-2020:2563

Comment 8 Product Security DevOps Team 2020-06-15 17:20:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-7465


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