Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 89277
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andre Hinrichs <andre.hinrichs@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
rtsp_fix_20050415.diff Real RTSP heap overflow patch patch Andre Hinrichs 2005-04-16 00:59 0000 634 bytes Details | Diff
mmst_fix_20050415.diff MMST heap overflow patch patch Andre Hinrichs 2005-04-16 01:00 0000 630 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 89277 depends on: Show dependency tree
Bug 89277 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-16 00:57 0000
As stated on the official mplayer homepage there are two head overflows.
Fixes are available for download on the homepage. I will attach the ported
patches.
Interestingly, they write about a pre7 version on the homepage, but it's not
officially been released yet.


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Andre Hinrichs 2005-04-16 00:59:34 0000 -------
Created an attachment (id=56428) [details]
Real RTSP heap overflow patch

------- Comment #2 From Andre Hinrichs 2005-04-16 01:00:32 0000 -------
Created an attachment (id=56429) [details]
MMST heap overflow patch

------- Comment #3 From Jakub Moc (RETIRED) 2005-04-16 02:42:28 0000 -------
2005.04.16, Saturday :: MMST heap overflow
posted by Roberto
Summary

A potential buffer overflow was found and fixed in code used to handle MMST streams.
Severity

High (arbitrary remote code execution under the user ID running the player) when streaming MMS/TCP data from a malicious server, null if you do not use this feature. At this time there is no known exploit.
Description

While enumerating streams from a server, MMST code stores stream IDs in a fixed length array, but there is no check to stop the process if too many stream IDs are received. A malicious server could announce more than 20 streams and overflow the array.
Solution

A fix for the vulnerability was checked into MPlayer CVS on Fri Apr 15 23:31:57 2005 UTC. Users of affected MPlayer versions should upgrade to an unaffected MPlayer version. Alternatively a patch is available that can be applied to the MPlayer source tree.
Affected versions

MPlayer 1.0pre6 and before (including pre6a)
Unaffected versions

MPlayer 1.0pre7 and after
CVS HEAD after Fri Apr 15 23:31:57 2005 UTC

=====================

 2005.04.16, Saturday :: Real RTSP heap overflow
posted by Roberto
Summary

A potential buffer overflow was found and fixed in code used to handle RealMedia RTSP streams.
Severity

High (arbitrary remote code execution under the user ID running the player) when streaming RTSP data from a malicious server, null if you do not use this feature. At this time there is no known exploit.
Description

While getting lines from a server, Real RTSP code stores them in a fixed size array of MAX_FIELDS elements, but there is no check to stop the process if too many lines are received. A malicious server could send more than MAX_FIELDS lines and overflow the array. Since the array holds pointers to answer strings, an attacker cannot write arbitrary data into it, making an exploit more difficult.
Solution

A fix for the vulnerability was checked into MPlayer CVS on Fri Apr 15 23:30:44 2005 UTC. Users of affected MPlayer versions should upgrade to an unaffected MPlayer version. Alternatively a patch is available that can be applied to the MPlayer source tree.
Affected versions

MPlayer 1.0pre6 and before (including pre6a)
Unaffected versions

MPlayer 1.0pre7 and after
CVS HEAD after Fri Apr 15 23:30:44 2005 UTC

------- Comment #4 From Thierry Carrez (RETIRED) 2005-04-16 04:27:00 0000 -------
media-video, please bump/patch/comment

------- Comment #5 From Jan Brinkmann (RETIRED) 2005-04-16 06:08:28 0000 -------
mplayer-1.0_pre5-r5 is the latest stable version for most architectures. we
could apply the patches to mplayer-1.0_pre6* and then we should aim to mark
mplayer-1.0_pre6-r1 stable. mplayer related problems which came in lately were
related to -r2. when -pre7 will be released we could integrate it via the
normal procedur into the tree (with the 30 day testing period etc) before going
into stable.

------- Comment #6 From Jan Brinkmann (RETIRED) 2005-04-16 06:45:59 0000 -------
patches are now in the tree, mplayer-1.0_pre6-r{1,2,3} apply them. we should
mark -r1 stable, afterwards _pre5 can be removed.

------- Comment #7 From Jan Brinkmann (RETIRED) 2005-04-16 07:50:30 0000 -------
ok, done. now we should mark mplayer-1.0_pre6-r4 stable. changed the following
things:

mplayer-1.0_pre6-r1 -> mplayer-1.0_pre6-r4
mplayer-1.0_pre6-r2 -> mplayer-1.0_pre6-r5
mplayer-1.0_pre6-r3 -> mplayer-1.0_pre6-r6

------- Comment #8 From Thierry Carrez (RETIRED) 2005-04-16 09:59:45 0000 -------
Arches, please test mplayer-1.0_pre6-r4 and mark stable

------- Comment #9 From Jan Brinkmann (RETIRED) 2005-04-16 10:15:55 0000 -------
done for amd64 and x86

------- Comment #10 From Michael Hanselmann (hansmi) (RETIRED) 2005-04-16 12:42:54 0000 -------
Stable on ppc.

------- Comment #11 From Jakub Moc (RETIRED) 2005-04-17 01:48:59 0000 -------
*** Bug 89384 has been marked as a duplicate of this bug. ***

------- Comment #12 From Markus Rothe 2005-04-17 03:26:52 0000 -------
stable on ppc64

------- Comment #13 From Jason Wever (RETIRED) 2005-04-17 14:27:37 0000 -------
Stable on SPARC.

------- Comment #14 From Matthias Geerdsen 2005-04-18 02:20:05 0000 -------
GLSA drafted, security pls review

alpha, pls mark test and mark stable if possible

------- Comment #15 From Bryan Østergaard (RETIRED) 2005-04-18 17:21:40 0000 -------
Stable on alpha.

------- Comment #16 From Matthias Geerdsen 2005-04-20 00:29:03 0000 -------
GLSA 200504-19

thanks everyone

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug