GLSA 201604-02: Xalan-Java: Arbitrary code execution

Severity:normal
Title:Xalan-Java: Arbitrary code execution
Date:04/02/2016
Bugs: #505602
ID:201604-02

Synopsis

Insufficient constraints in Apache's Xalan-Java might allow remote attackers to execute arbitrary code and load arbitrary classes.

Background

Xalan-Java is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-java/xalan < 2.7.2 >= 2.7.2 All supported architectures

Description

The TransformerFactory in Apache Xalan-Java does not properly restrict access to certain properties when FEATURE_SECURE_PROCESSING is enabled. This can also be exploited via a Java property that is bound to the XSLT 1.0 system-property function.

Impact

A remote attacker could inject specially crafted XSLT properties resulting in the execution of arbitrary code with the privileges of the process.

Workaround

There is no known work around at this time.

Resolution

All Xalan-Java users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-java/xalan-2.7.2"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201604-02.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!