Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

 A number of vulnerabilities have been identified in XML libraries as used
              by Python libexpat, Apache Xerces and Sun Java
                               7 August 2009


        AusCERT Security Bulletin Summary

Product:           Python libexpat
                   Apache Xerces - all versions
                   Sun JDK and JRE 6 Update 14 and earlier
                   Sun JDK and JRE 5.0 Update 19 and earlier
Publisher:         CERT-FI
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2009-1885 CVE-2009-2625 

Reference:         ESB-2009.1132.2

Original Bulletin: 

- --------------------------BEGIN INCLUDED TEXT--------------------

CERT-FI Advisory on XML libraries


- - servers and server applications
- - workstations and end user applications
- - network devices
- - embedded systems
- - mobile devices
- - other	
Access Vector 
- - remote 	


- - potential code execution
- - denial of service 	

- - fix provided by vendor
- - no fix availble

Several vulnerabilities regarding the parsing of XML data have been found in 
XML library implementations. CERT-FI coordinated the remediation efforts of 
these vulnerabilities.

The vulnerabilities are related to the parsing of XML elements with unexpected 
byte values and recursive parentheses, which cause the program to access memory 
out of bounds, or to loop indefinitely. The effects of the vulnerabilities 
include denial of service and potentially code execution. The vulnerabilities 
can be exploited by enticing a user to open a specially modified file, or by 
submitting it to a server that handles XML content.

Vulnerability Coordination Information and Acknowledgements

CERT-FI has coordinated the release of this vulnerability between the 
vulnerability researcher and the affected vendors. CERT-FI would like to thank 
Jukka Taimisto, Tero Rontti and Rauli Kaksonen from the CROSS project at 
Codenomicon Ltd for reporting the vulnerability to us, and the vendors for 
co-operation in the remediation efforts.

Vendor Information

    * Python libexpat
    * Apache Xerces, all versions
    * Sun JDK and JRE 6 Update 14 and earlier
    * Sun JDK and JRE 5.0 Update 19 and earlier

Vendor Statements

We are working on a fix.


Patch the vulnerable software components according to the guidance published by 
the vendor. Where available, refer to the 'Vendor Information' section of this 
advisory for platform specific remediation.


    * http://sunsolve.sun.com/search/document.do?assetkey=1-66-263489-1
    * http://svn.apache.org/viewvc?view=rev&revision=781488
    * http://www.codenomicon.com/labs/xml/
    * http://www.codenomicon.com/labs/cross/
    * CVE-2009-1885
    * CVE-2009-2625

Contact Information

CERT-FI Vulnerability Coordination can be contacted as follows:

Please quote the advisory reference [FICORA #245608] in the subject line

+358 9 6966 510
Monday - Friday 08:00 - 16:15 (EET: UTC+2)

Fax :
+358 9 6966 515

Vulnerability Coordination
P.O. Box 313
FI-00181 Helsinki

CERT-FI encourages those who wish to communicate via email to make use of our 
PGP key. The key is available at 

Revision History:

6 August 2009, 00:10 a.m.: Published

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967