Description
RESTEasy 2.3.1 before 2.3.8.SP2 and 3.x before 3.0.9, as used in Red Hat JBoss Enterprise Application Platform (EAP) 6.3.0, does not disable external entities when the resteasy.document.expand.entity.references parameter is set to false, which allows remote attackers to read arbitrary files and have other unspecified impact via unspecified vectors, related to an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0818.
Remediation
References
http://rhn.redhat.com/errata/RHSA-2014-1011.html
http://rhn.redhat.com/errata/RHSA-2014-1039.html
http://rhn.redhat.com/errata/RHSA-2014-1040.html
http://rhn.redhat.com/errata/RHSA-2014-1298.html
http://rhn.redhat.com/errata/RHSA-2015-0125.html
http://rhn.redhat.com/errata/RHSA-2015-0675.html
http://rhn.redhat.com/errata/RHSA-2015-0720.html
http://rhn.redhat.com/errata/RHSA-2015-0765.html
http://secunia.com/advisories/60019
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
http://www.securityfocus.com/bid/69058
https://github.com/resteasy/Resteasy/pull/521
https://github.com/resteasy/Resteasy/pull/533
https://github.com/ronsigal/Resteasy/commit/9b7d0f574cafdcf3bea5428f3145ab4908fc6d83
Related Vulnerabilities
CVE-2017-9801 Vulnerability in maven package org.apache.commons:commons-email
CVE-2017-16109 Vulnerability in npm package easyquick
CVE-2021-23346 Vulnerability in npm package html-parse-stringify
CVE-2016-10520 Vulnerability in npm package jadedown
CVE-2022-41946 Vulnerability in maven package org.postgresql:postgresql