(Gentoo Issues Fix) MPlayer Buffer Overflow in Parsing HTTP Location Header Lets Remote Servers Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1009624
|
|
CVE Reference: CAN-2004-0386
(Links to External Site)
|
Updated: Apr 7 2004
|
Original Entry Date: Apr 1 2004
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): 1.0pre3 and prior versions
|
Description: A heap overflow vulnerability was reported in MPlayer. A remote server can execute arbitrary code on a connected MPlayer client.
blexim reported that MPlayer does not allocate sufficient buffer memory to hold an encoded URL returned by the web server as the
'Location' HTTP header value. A remote server can return a specially crafted value to trigger a buffer overflow on the target user's
MPlayer and execute arbitrary code with the privileges of the target user.
The report indicates that you can use the following
command to determine if your system is affected (a segmentation fault indicates the system is vulnerable):
$ mplayer http://`perl
-e 'print "\""x1024;'`
The vendor indicates that they were notified on March 29, 2004.
|
Impact: A remote server can execute arbitrary code on a connected client. The code will run with the privileges of the user running MPlayer.
|
Solution: Gentoo has released a fix with the following upgrade instructions:
x86 and sparc:
# emerge sync
# emerge -pv ">=media-video/mplayer-0.92-r1"
# emerge ">=media-video/mplayer-0.92-r1"
amd64:
# emerge sync
# emerge -pv ">=media-video/mplayer-1.0_pre2-r1"
# emerge ">=media-video/mplayer-1.0_pre2-r1"
ppc:
# emerge sync
# emerge -pv ">=media-video/mplayer-1.0_pre3-r2"
# emerge ">=media-video/mplayer-1.0_pre3-r2"
|
Vendor URL: www.mplayerhq.hu/homepage/design6/news.html (Links to External Site)
|
Cause: Boundary error
|
Underlying OS: Linux (Gentoo)
|
Reported By: Kurt Lieber <klieber@gentoo.org>
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Wed, 31 Mar 2004 07:06:45 -0500
From: Kurt Lieber <klieber@gentoo.org>
Subject: [gentoo-announce] [ GLSA 200403-13 ] Remote buffer overflow in MPlayer
|
--fS/HbthCZKMwXfkc
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200403-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Remote buffer overflow in MPlayer
Date: March 31, 2004
Bugs: #46246
ID: 200403-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
MPlayer contains a remotely exploitable buffer overflow in the HTTP
parser that may allow attackers to run arbitrary code on a user's
computer.
Background
==========
Quote from http://mplayerhq.hu
"MPlayer is a movie player for LINUX (runs on many other Unices, and
non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI,
OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, YUV4MPEG,
FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL
codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV
movies, too."
Affected packages
=================
-------------------------------------------------------------------
Package/ Vulnerable / Unaffected
-------------------------------------------------------------------
mplayer <= 0.92 >= 0.92-r1
mplayer <= mplayer-1.0_pre2 >= mplayer-1.0_pre2-r1
mplayer <= mplayer-1.0_pre3 >= mplayer-1.0_pre3-r3
Description
===========
A vulnerability exists in the MPlayer HTTP parser which may allow an
attacker to craft a special HTTP header ("Location:") which will trick
MPlayer into executing arbitrary code on the user's computer.
Impact
======
An attacker without privileges may exploit this vulnerability remotely,
allowing arbitrary code to be executed in order to gain unauthorized
access.
Workaround
==========
A workaround is not currently known for this issue. All users are
advised to upgrade to the latest version of the affected package.
Resolution
==========
MPlayer may be upgraded as follows:
x86 and sparc:
# emerge sync
# emerge -pv ">=media-video/mplayer-0.92-r1"
# emerge ">=media-video/mplayer-0.92-r1"
amd64:
# emerge sync
# emerge -pv ">=media-video/mplayer-1.0_pre2-r1"
# emerge ">=media-video/mplayer-1.0_pre2-r1"
ppc:
# emerge sync
# emerge -pv ">=media-video/mplayer-1.0_pre3-r2"
# emerge ">=media-video/mplayer-1.0_pre3-r2"
References
==========
[ 1 ] http://www.mplayerhq.hu/homepage/design6/news.html
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.
--fS/HbthCZKMwXfkc
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAarRVJPpRNiftIEYRAnfYAJ4yMsn3HbZe1ZtuzUaDBYouC1lNzQCgmYJ4
jxmirRv5wk6LbGG/V6CRFbo=
=uWeT
-----END PGP SIGNATURE-----
--fS/HbthCZKMwXfkc--
|
|