(Gentoo Issues Fix) Libxml2 URL Parsing and DNS Resolution Buffer Overflows May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1012054 |
|
SecurityTracker URL: http://securitytracker.com/id/1012054
|
|
CVE Reference:
CAN-2004-0989
(Links to External Site)
|
Date: Nov 3 2004
|
Impact:
Denial of service via network, Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 2.6.12, 2.6.13
|
Description:
Some buffer overflow vulnerabilities were reported in Libxml2. A remote user may be able to execute arbitrary code on the target system, depending on how the Libxml2 library is used.
sean reported that a remote user can create a specially crafted FTP URL that, when loaded by the target user, will trigger a buffer overflow. The flaw resides in the xmlNanoFTPScanURL() function in 'nanoftp.c'.
It is also reported that a remote user can create an FTP proxy URL that, when loaded, will also trigger a buffer overflow. The flaw resides in the xmlNanoFTPScanProxy() function in 'nanoftp.c'.
In addition, there are several buffer overflows in the resolution of domain names. A remote user with control of a DNS server or the ability to spoof a DNS server can trigger these buffer overflows to execute arbitrary code on the target user's system.
|
Impact:
A remote user may be able to execute arbitrary code on the target system. The specific impact depends on how the Libxml2 library is used.
|
Solution:
Gentoo has released a fix and indicates that all libxml2 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libxml2-2.6.15"
|
Vendor URL: www.xmlsoft.org/ (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Gentoo)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Tue, 02 Nov 2004 18:35:06 +0100
Subject: [gentoo-announce] [ GLSA 200411-05 ] libxml2: Remotely exploitable buffer overflow
|
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1C2860F980A3096980E89CC8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200411-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: libxml2: Remotely exploitable buffer overflow
Date: November 02, 2004
Bugs: #69154
ID: 200411-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
libxml2 contains multiple buffer overflows which could lead to the
execution of arbitrary code.
Background
==========
libxml2 is an XML parsing library written in C.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-libs/libxml2 < 2.6.15 >= 2.6.15
Description
===========
Multiple buffer overflows have been detected in the nanoftp and
nanohttp modules. These modules are responsible for parsing URLs with
ftp information, and resolving names via DNS.
Impact
======
An attacker could exploit an application that uses libxml2 by forcing
it to parse a specially-crafted XML file, potentially causing remote
execution of arbitrary code.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All libxml2 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libxml2-2.6.15"
References
==========
[ 1 ] BugTraq Advisory
http://www.securityfocus.com/archive/1/379383
[ 2 ] libxml2 ChangeLog
http://www.xmlsoft.org/ChangeLog.html
[ 3 ] CAN-2004-0989
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0989
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200411-05.xml
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
http://bugs.gentoo.org.
License
=======
Copyright 2004 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/1.0
--------------enig1C2860F980A3096980E89CC8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBh8VPvcL1obalX08RAnSEAJ46aoS873iB18uHbIdklpriooqvbgCfYFRy
jhmdkJYF7a1f5pAiBvZ3v1k=
=fty9
-----END PGP SIGNATURE-----
--------------enig1C2860F980A3096980E89CC8--
|
|