(Gentoo Issues Fix) mpg123 Buffer Overflow in getauthformURL() May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1011973 |
|
SecurityTracker URL: http://securitytracker.com/id/1011973
|
|
CVE Reference:
CAN-2004-0982
(Links to External Site)
|
Updated: Nov 2 2004
|
Original Entry Date: Oct 28 2004
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 0.59r, pre0.59s
|
Description:
A buffer overflow vulnerability was reported in mpg123 in getauthformURL(). A remote user may be able to execute arbitrary code on the target user's system.
Carlos Barros reported that getauthfromURL() contains an overflow in the processing of the 'httpauth1' variable. A remote user can create a specially crafted playlist that, when processed by the target user, may execute arbitrary code on the target user's system.
A demonstration exploit URL format is provided:
http://AAAAAAAAAAAAAA...AAAAA@www.somesite.com/somefile.xxx,
It is reported that the http_open() function also contains a buffer overflow that allows a local user to execute arbitrary code.
The vendor was notified on October 10, 2004, without response.
|
Impact:
A remote user may be able to execute arbitrary code on the target user's system with the privileges of the target user.
|
Solution:
Gentoo has released a fix and indicates that all mpg123 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r5"
|
Vendor URL: www.mpg123.de/ (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: Wed, 27 Oct 2004 12:26:04 +0000
Subject: [gentoo-announce] [ GLSA 200410-27 ] mpg123: Buffer overflow vulnerabilities
|
--gcG8G892UcBLaolp
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200410-27
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: mpg123: Buffer overflow vulnerabilities
Date: October 27, 2004
Bugs: #68343
ID: 200410-27
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Buffer overflow vulnerabilities have been found in mpg123 which could
lead to execution of arbitrary code.
Background
==========
mpg123 is a MPEG Audio Player.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-sound/mpg123 < 0.59s-r5 >= 0.59s-r5
Description
===========
Buffer overflow vulnerabilities in the getauthfromURL() and http_open()
functions have been reported by Carlos Barros. Additionally, the Gentoo
Linux Sound Team fixed additional boundary checks which were found to
be lacking.
Impact
======
By enticing a user to open a malicious playlist or URL or making use of
a specially-crafted symlink, an attacker could possibly execute
arbitrary code with the rights of the user running mpg123.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All mpg123 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r5"
References
==========
[ 1 ] Security Advisory by Carlos Barros
http://www.barrossecurity.com/advisories/mpg123_getauthfromurl_bof_advisory.txt
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200410-27.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
--gcG8G892UcBLaolp
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBf5PcJPpRNiftIEYRAr7CAKCHosFiP2R8iYKuRmhk3KvJYxOehACeOPso
mfv9QmRfMccHTl48sznuFso=
=XPwo
-----END PGP SIGNATURE-----
--gcG8G892UcBLaolp--
|
|