SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Libxml2 Vendors:   xmlsoft.org
(Fedora Issues Fix for RH Linux) Libxml2 URL Parsing Buffer Overflow May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1011519
SecurityTracker URL:  http://securitytracker.com/id/1011519
CVE Reference:   CVE-2004-0110   (Links to External Site)
Date:  Oct 4 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.6.6
Description:   A buffer overflow vulnerability was reported in Libxml2. A remote user may be able to execute arbitrary code on an application that uses Libxml2.

It is reported that there is an overflow in libxml2 that can be triggered when parsing remote resources via FTP or HTTP. A long URL can trigger the overflow, the report said.

The flaw reportedly resides in 'nanoftp.c' and 'nanohttp.c'

Yuuichi Teranishi is credited with discovering the flaw.

Impact:   A remote user may be able to cause a target application that uses Libxml2 to execute arbitrary code with the privileges of the target application. The specific impact depends on the application using Libxml2.
Solution:   Fedora has released a fix.

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/libxml2-2.4.19-6.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/libxml2-2.4.19-6.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/libxml2-python-2.4.19-6.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/libxml2-devel-2.4.19-6.legacy.i386.rpm

The verification checksums are:

41e9e0daaf643f9d3ec96cbba7b050a397d1907e
7.3/updates/i386/libxml2-2.4.19-6.legacy.i386.rpm
130e6e03b76891959e58a3ddd56bc99777d76981
7.3/updates/i386/libxml2-devel-2.4.19-6.legacy.i386.rpm
42087ae0d2e5ee16c4ecf32478991d96ce0500cb
7.3/updates/i386/libxml2-python-2.4.19-6.legacy.i386.rpm
8a1d844bfb9494c00bd4a6dd2d95a0829daf9f42
7.3/updates/SRPMS/libxml2-2.4.19-6.legacy.src.rpm

Vendor URL:  www.xmlsoft.org/index.html (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  7.3

Message History:   This archive entry is a follow-up to the message listed below.
Feb 26 2004 Libxml2 URL Parsing Buffer Overflow May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2004:1324] Updated libxml2 resolves security vulnerability



--=-OixEKljmc0C3vgouZLww
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

-----------------------------------------------------------------------
               Fedora Legacy Update Advisory

Synopsis:          Updated libxml2 resolves security vulnerability
Advisory ID:       FLSA:1324
Issue date:        2004-10-04
Product:           Red Hat Linux
Keywords:          Security
Cross references:  https://bugzilla.fedora.us/show_bug.cgi?id=3D1324
CVE Names:         CAN-2004-0110
-----------------------------------------------------------------------


-----------------------------------------------------------------------
1. Topic:

[Updated 4th October 2004]
The packages contained in the original release of this advisory were
missing python 2.2 support. These updated packages restore the missing
functionality.

Updated libxml2 packages that fix an overflow when parsing remote
resources are now available.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386

3. Problem description:

libxml2 is a library for manipulating XML files.

Yuuichi Teranishi discovered a flaw in libxml2 versions prior to 2.6.6.
When fetching a remote resource via FTP or HTTP, libxml2 uses special
parsing routines.  These routines can overflow a buffer if passed a very
long URL.  If an attacker is able to find an application using libxml2
that parses remote resources and allows them to influence the URL, then
this flaw could be used to execute arbitrary code.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the
name CAN-2004-0110 to this issue.

All users are advised to upgrade to these updated packages, which
contain a backported fix and are not vulnerable to this issue.

Fedora Legacy would like to thank Johnny Strom for reporting this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which
are not installed but included in the list will not be updated.  Note
that you can also use wildcards (*.rpm) if your current directory *only*
contains the desired RPMs.

Please note that this update is also available via yum and apt.  Many
people find this an easier way to apply updates.  To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the
appropriate RPMs being upgraded on your system.  This assumes that you
have yum or apt-get configured for obtaining Fedora Legacy content.
Please visit http://www fedoralegacy.org/docs for directions on how to
configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - 1324 - libxml2: an overflow when parsing
remote resources.

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/libxml2-2.4.19-6.=
legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/libxml2-2.4.19-6.l=
egacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/libxml2-python-2.4=
.19-6.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/libxml2-devel-2.4.=
19-6.legacy.i386.rpm

7. Verification:

SHA1 sum                                 Package Name
---------------------------------------------------------------------------

41e9e0daaf643f9d3ec96cbba7b050a397d1907e=20
7.3/updates/i386/libxml2-2.4.19-6.legacy.i386.rpm
130e6e03b76891959e58a3ddd56bc99777d76981=20
7.3/updates/i386/libxml2-devel-2.4.19-6.legacy.i386.rpm
42087ae0d2e5ee16c4ecf32478991d96ce0500cb=20
7.3/updates/i386/libxml2-python-2.4.19-6.legacy.i386.rpm
8a1d844bfb9494c00bd4a6dd2d95a0829daf9f42=20
7.3/updates/SRPMS/libxml2-2.4.19-6.legacy.src.rpm

These packages are GPG signed by Fedora Legacy for security.  Our key is
available from http://www.fedoralegacy org/about/security.php

You can verify each package with the following command:

    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the sha1sum with the following command:

    sha1sum <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2004-0110
https://www.redhat.com/archives/redhat-watch-list/2004-February/msg00007.ht=
ml
http://mail.gnome.org/archives/xml/2004-February/msg00070.html


9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org

---------------------------------------------------------------------


--=-OixEKljmc0C3vgouZLww
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBYTtiLMAs/0C4zNoRAk51AJ9pgfltdV5l4zEkq5hNY7l8AEIcaQCfYivt
wgnHLaImWy+1BQha3wTjgGg=
=iWs3
-----END PGP SIGNATURE-----

--=-OixEKljmc0C3vgouZLww--

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC