From: Yury German <blueknight@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Message-ID: <57002A9A.8040509@gentoo.org>
Subject: [ GLSA 201604-02 ] Xalan-Java: Arbitrary code execution




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201604-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: Xalan-Java: Arbitrary code execution
     Date: April 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
    -------------------------------------------------------------------
  1  dev-java/xalan               < 2.7.2                    >= 2.7.2

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
==========

[ 1 ] CVE-2014-0107
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0107

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/201604-02

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 2016 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.

http://creativecommons.org/licenses/by-sa/2.5



--nJI5aROPX4UAkg6pPhjNKLVMdbtf616bJ