CVE-2014-0107: Medium severity Apache Xalan-Java vulnerability

Published Mar 25, 2014
·
Updated

Apache Xalan-Java could allow a remote attacker to bypass security restrictions, caused by the improper handling of output properties. An attacker could exploit this vulnerability to bypass the secure processing feature to load arbitrary restricted classes.

Other sources

It was found that the Xalan-Java secure processing feature imposes insufficient constraints:

Java properties, bound to XSLT 1.0 system-property(), are accessible.

Output properties that allow to load arbitrary classes or resources are allowed.

Arbitrary code can be executed if the Bean Scripting Framework (BSF) is in the classpath, as it allows to spawn available JARs with secure processing disabled, effectively bypassing the intended protection.

A remote attacker who is able to provide XSL that will be processed by Xalan-Java could use this flaw to bypass the constraints of the secure processing feature. Depending on the components available on the classpath, this could lead to arbitrary remote code execution in the context of the application server running the application that uses Xalan-Java.

Red Hat

The TransformerFactory in Apache Xalan-Java before 2.7.2 does not properly restrict access to certain properties when FEATURESECUREPROCESSING is enabled, which allows remote attackers to bypass expected restrictions and load arbitrary classes or access external resources via a crafted (1) xalan:content-header, (2) xalan:entities, (3) xslt:content-header, or (4) xslt:entities property, or a Java property that is bound to the XSLT 1.0 system-property function.

MITRE

Affected Software

17 affected componentsFixes available
redhat/xalan-j2<2.7.2
2.7.2
Apache Xalan-Java<=2.7.1
Apache Xalan-Java=1.0.0
Apache Xalan-Java=2.0.0
Apache Xalan-Java=2.0.1
Apache Xalan-Java=2.1.0
Apache Xalan-Java=2.2.0
Apache Xalan-Java=2.4.0
Apache Xalan-Java=2.4.1
Apache Xalan-Java=2.5.0
Apache Xalan-Java=2.5.1
Apache Xalan-Java=2.5.2
Apache Xalan-Java=2.6.0
Apache Xalan-Java=2.7.0
Oracle WebCenter Sites=7.6.2
Oracle WebCenter Sites=11.1.1.8.0
maven/xalan:xalan<2.7.2
2.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/xalan-j2 to a version that resolves this vulnerability.

    Fixed in 2.7.2
  2. Upgrade

    Upgrade maven/xalan:xalan to a version that resolves this vulnerability.

    Fixed in 2.7.2
  3. Upgrade

    Upgrade Apache Xalan-Java to a version that resolves this vulnerability.

    Fixed in 2.7.2
  4. Configuration

    Ensure FEATURE_SECURE_PROCESSING is enabled in Apache Xalan-Java TransformerFactory; note that in Apache Xalan-Java before 2.7.2 this feature does not properly restrict access to certain properties, allowing bypass via xalan:content-header, xalan:entities, xslt:content-header, xslt:entities, or a Java property bound via XSLT 1.0 system-property().

    Apache Xalan-Java TransformerFactory FEATURE_SECURE_PROCESSING = enabled

Event History

Apr 15, 2014
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·11:13 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 2, 2020
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
May 13, 2022
Advisory Published
via GitHub·01:05 AM
Jan 13, 58316
Event
via IBM·12:57 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability in Apache Xalan-Java?

The vulnerability in Apache Xalan-Java is CVE-2014-0107.

2

How does CVE-2014-0107 impact Apache Xalan-Java?

CVE-2014-0107 can allow a remote attacker to bypass security restrictions and load arbitrary classes or access external resources.

3

What is the severity of CVE-2014-0107?

The severity of CVE-2014-0107 is high with a CVSS score of 7.

4

How can I fix the vulnerability in Apache Xalan-Java CVE-2014-0107?

To fix CVE-2014-0107, update your Apache Xalan-Java installation to version 2.7.2 or above.

5

Where can I find more information about CVE-2014-0107?

You can find more information about CVE-2014-0107 in the following references: [Link 1](https://issues.apache.org/jira/browse/XALANJ-2435), [Link 2](http://svn.apache.org/viewvc?view=revision&revision=1581058), [Link 3](http://www.ocert.org/advisories/ocert-2014-002.html).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203