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

high Nessus Plugin ID 90340
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201604-02 (Xalan-Java: Arbitrary code execution)

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.

Solution

All Xalan-Java users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-java/xalan-2.7.2'

See Also

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

Plugin Details

Severity: High

ID: 90340

File Name: gentoo_GLSA-201604-02.nasl

Version: 2.2

Type: local

Published: 4/5/2016

Updated: 1/11/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:xalan, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 4/2/2016

Reference Information

CVE: CVE-2014-0107

GLSA: 201604-02