Xalan-Java Secure-Processing Bypass Enables Remote Code Execution
Vulnerability Disclosure · 10 sources · Updated 3mo ago · First seen Oct 12, 2015

CVE-2014-0107 affects Xalan-Java's XSLT secure-processing feature: insufficient restrictions on specified properties and features let an attacker supplying malicious XSLT bypass intended processing safeguards. Where suitable components are available on the application classpath, exploitation can lead to arbitrary remote code execution in the application server context. Red Hat rated the flaw Important, with a CVSS v2 score of 6.8, and issued fixes for affected Red Hat Enterprise Linux, JBoss, and Fuse products.
Red Hat also included the Xalan-Java issue in RHSA-2015:1888 for JBoss SOA Platform 5.3.1, alongside certificate hostname-validation, XML deserialization, XXE, and authentication-related flaws. Organizations running affected JBoss deployments should apply the vendor update after backing up installations and stopping the JBoss Application Server; the vulnerability reflects an improperly implemented required security check, allowing secure-processing controls to be circumvented.
Why it matters
Impact assessment
CVE-2014-0107 can permit remote code execution when an attacker can submit XSLT to an application using a vulnerable Xalan-Java implementation and exploitable supporting components exist on its Java classpath. The primary exposure is legacy Red Hat Enterprise Linux, JBoss, and Fuse deployments that remain unpatched; compromise would execute in the application-server process context and can result in data theft, service disruption, lateral movement, and reputational damage.
Supporting facts
- Red Hat rated CVE-2014-0107 Important; Red Hat CVSS v2 is 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P). NVD assigned CVSS v2 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P).
- Exploitation requires an attacker-controlled XSLT/XSL document to reach Xalan-Java processing. Internet-facing XML/XSLT transformation endpoints and workflows accepting partner or user-submitted stylesheets are the highest-risk exposure points.
- Arbitrary code execution depends on Java classpath contents. The published analysis identifies Bean Scripting Framework (BSF) as a component that can enable code execution.
- The related JBoss roll-up updates also remediate CVE-2013-7285, an XStream unsafe XML deserialization issue that can lead to server-context remote code execution, plus other XML, authentication, and hostname-validation flaws in JBoss SOA Platform 5.3.1.
- No exploitation in the wild, ransomware activity, or campaign attribution is reported in the supplied references.
Affected product lines cited by Red Hat
- Red Hat Enterprise Linux 5 and 6 with
xalan-j2. - JBoss Enterprise BRMS Platform 5.3 / BRMS 5.3.1.
- JBoss BPMS and BRMS 6.0.
- JBoss EAP 5 and 6.2, JBoss Enterprise Portal Platform 5.2.2, JBoss Portal 6.2.0, and JBoss Fuse Service Works 6.0.0.
- Red Hat JBoss A-MQ 6.1, Fuse ESB Enterprise 7.1.0, Fuse MQ Enterprise 7.1.0, and Fuse Management Console 7.1.0.
- Red Hat JBoss SOA Platform 5.3.1, addressed by RHSA-2015:1888.


