Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryinternet-facing-service-vulnerability

Xalan-Java Secure-Processing Bypass Enables Remote Code Execution

Vulnerability Disclosure · 10 sources · Updated 3mo ago · First seen Oct 12, 2015

Xalan-Java Secure-Processing Bypass Enables Remote Code Execution

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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

10 events · Dec 22, 2013 – Oct 12, 2015
  1. Oct 12, 201511y ago

    Red Hat releases JBoss SOA Platform 5.3.1 security update

    Red Hat issued Important-severity advisory RHSA-2015:1888 for JBoss SOA Platform 5.3.1, fixing seven CVEs including CVE-2014-0107. The update also addressed hostname-validation, XML deserialization, authentication logging, and XXE flaws, and Red Hat advised customers to apply it.

    RHSA-2015:1888 - Security Advisory - Red Hat Customer Portal
  2. Oct 9, 201412y ago

    Red Hat patches Fuse products for CVE-2014-0107

    Red Hat issued RHSA-2014:1369 to fix CVE-2014-0107 in Fuse ESB Enterprise, Fuse Management Console, and Fuse MQ Enterprise version 7.1.0.

    CVE-2014-0107 - Red Hat Customer Portal
  3. Oct 1, 201412y ago

    Red Hat fixes Xalan-Java flaw in JBoss A-MQ 6.1

    Red Hat released RHSA-2014:1351 for Red Hat JBoss A-MQ 6.1, addressing CVE-2014-0107.

    CVE-2014-0107 - Red Hat Customer Portal
  4. Sep 23, 201412y ago

    Red Hat patches CVE-2014-0107 in JBoss BPMS 6.0 xalan-j2

    Red Hat issued RHSA-2014:1291 to fix CVE-2014-0107 in the xalan-j2 component of Red Hat JBoss BPMS 6.0.

    CVE-2014-0107 - Red Hat Customer Portal
  5. Aug 5, 201412y ago

    Red Hat fixes Xalan-Java flaw in JBoss Enterprise BRMS 5.3

    Red Hat issued RHSA-2014:1007 to remediate CVE-2014-0107 in the xalan-j2 component of JBoss Enterprise BRMS Platform 5.3.

    CVE-2014-0107 - Red Hat Customer Portal
  6. Jun 30, 201412y ago

    Red Hat fixes CVE-2014-0107 in JBoss BPMS and BRMS 6.0

    Red Hat released RHSA-2014:0819 for JBoss BPMS 6.0 and RHSA-2014:0818 for JBoss BRMS 6.0, addressing the Xalan-Java secure-processing vulnerability CVE-2014-0107.

    CVE-2014-0107 - Red Hat Customer Portal
  7. Apr 1, 201413y ago

    Red Hat fixes Xalan-Java flaw in RHEL 5 and 6

    Red Hat issued RHSA-2014:0348 to fix CVE-2014-0107 in the xalan-j2 component of Red Hat Enterprise Linux 5 and 6. The flaw allowed supplied XSLT to bypass Xalan-Java secure-processing restrictions and could enable remote code execution depending on the application classpath.

    CVE-2014-0107 - Red Hat Customer Portal
  8. Feb 22, 201413y ago

    Fedora releases XStream fixes for Fedora 19 and 20

    Fedora pushed xstream-1.3.1-9.fc20 to the Fedora 20 stable repository and xstream-1.3.1-5.1.fc19 to the Fedora 19 stable repository, addressing CVE-2013-7285 insecure XML deserialization and potential remote code execution.

    1051277 - (CVE-2013-7285) CVE-2013-7285 XStream: remote code execution due to insecure XML deserialization
  9. Dec 22, 201313y ago

    Red Hat publishes XStream RCE vulnerability CVE-2013-7285

    Red Hat published CVE-2013-7285, an Important XStream insecure-deserialization vulnerability. An attacker able to supply XML to an XStream application could deserialize arbitrary object types and potentially execute code in the server's security context.

    CVE-2013-7285 - Red Hat Customer Portal
  10. Reported Mar 1, 200819y ago

    Apache Xalan-J secure-processing output-property flaw reported

    Apache Xalan-J was reported to allow XSLT output properties to remain effective despite FEATURE_SECURE_PROCESSING. Attacker-controlled stylesheets could specify content-handler classes for arbitrary class loading or entities resources that could exhaust memory.

    [XALANJ-2435] Use of secure processing feature should disable some output properties - ASF Jira
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.