what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Xalan-Java 2.7.0 Insufficient Secure Processing

Xalan-Java 2.7.0 Insufficient Secure Processing
Posted Mar 25, 2014
Authored by Andrea Barisani, Nicolas Gregoire, Open Source CERT

The Xalan-Java library is a popular XSLT processor from the Apache Software Foundation. The library implements the Java API for XML Processing (JAXP) which supports a secure processing feature for interpretive and XSLCT processors. The intent of this feature is to limit XSLT/XML processing behaviours to "make the XSLT processor behave in a secure fashion". It has been discovered that the secure processing features suffers from several limitations that undermine its purpose. Versions 2.7.0 and above are affected.

tags | advisory, java
advisories | CVE-2014-0107
SHA-256 | 2661a94be4bbc4822c2a0c9ff839ec7aafe7ef60fc89113bfb792b62e32262d9

Xalan-Java 2.7.0 Insufficient Secure Processing

Change Mirror Download

#2014-002 Xalan-Java insufficient secure processing

Description:

The Xalan-Java library is a popular XSLT processor from the Apache Software
Foundation.

The library implements the Java API for XML Processing (JAXP) which supports a
secure processing feature for interpretive and XSLCT processors. The intent of
this feature is to limit XSLT/XML processing behaviours to "make the XSLT
processor behave in a secure fashion".

It has been discovered that the secure processing features suffers from several
limitations that undermine its purpose. The enabling of the secure processing
feature in fact still allows the following processing to take place:

* Java properties, bound to XSLT 1.0 system-property(), are accessible.
* output properties that allow to load arbitrary classes or resources
are allowed (XALANJ-2435).
* 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.

Affected version:

Xalan-Java >= 2.7.0

Fixed version:

Xalan-Java >= r1581058 (see references)

Credit: vulnerability report received from Nicolas Gregoire
<nicolas.gregoire AT agarri.fr>.

CVE: CVE-2014-0107

Timeline:
2014-02-05: vulnerability report received
2014-02-05: reporter provides disclosure date set to 2014-03-21
2014-02-06: contacted Apache Security Team
2014-03-17: maintainer provides patch for review
2014-03-17: reporter confirms patch
2014-03-21: assigned CVE
2014-03-24: maintainer commits patch
2014-03-24: advisory release

References:
https://xml.apache.org/xalan-j
https://issues.apache.org/jira/browse/XALANJ-2435
https://svn.apache.org/viewvc?view=revision&revision=1581058

Permalink:
https://www.ocert.org/advisories/ocert-2014-002.html

--
Andrea Barisani | Founder & Project Coordinator
oCERT | OSS Computer Security Incident Response Team

<lcars@ocert.org> https://www.ocert.org
0x864C9B9E 0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E
"Pluralitas non est ponenda sine necessitate"
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close