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

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 59948 depends on: Show dependency tree
Bug 59948 blocks: 11510
Votes: 0    Show votes for this bug    Vote for this bug

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: 2004-08-10 03:42 0000
Like the excellent Mplayer, Xine is a superb free media player for Linux. Sadly
there is a generic stack based buffer overflow in all versions of Xine-lib,
including Xine-lib-rc5 that allows for local and remote malicious code
execution. By overflowing the vcd:// input source identifier buffer, it is
possible to modify the instruction pointer with a value that a malicious
attacker can control. The issue can be replicated in a remote context by
embedding the input source idientifier within a playlist file, such as an asx.
When a user plays the file, this stack overflow will occur, exploit code can
then be executed with the rights of the user running Xine.

The problem slightly increases due to a usability feature. It does not have to
be an asx extension for exploitation to succeed as Xine will try to be clever
and play any media type found, providing it's valid. This still means the
attack vector MUST include the .asx input identifier but it means you can not
even trust URL's for .mp3, .mpeg, .mpg or .avi media. As long as Xine finds a
valid media header, it's happy to change the demuxer reference and play the
found media. In this case it's a playlist file, ".asx",  though others should
work.

------- Comment #1 From Sune Kloppenborg Jeppesen 2004-08-10 04:00:16 0000 -------
Patch can be found here:

http://sourceforge.net/mailarchive/forum.php?thread_id=5143955&forum_id=11923

Still no official Xine advisory to be found here:

http://xinehq.de/index.php/security

------- Comment #2 From Chris White (RETIRED) 2004-08-10 11:57:55 0000 -------
x86 ppc sparc amd64 hppa alpha ppc64

please mark stable.

------- Comment #3 From Chris White (RETIRED) 2004-08-10 12:13:17 0000 -------
Version numbers also help:

please mark media-libs/xine-lib-1_rc5-r3 stable

we now continue with the show already in progress.

------- Comment #4 From Travis Tilley (RETIRED) 2004-08-11 08:39:17 0000 -------
stable on amd64

------- Comment #5 From Pieter Van den Abeele 2004-08-12 12:31:46 0000 -------
stable on ppc

------- Comment #6 From Chris White (RETIRED) 2004-08-12 15:42:49 0000 -------
Stable on x86

Played some mpeg4 files
Played a dvd
Played some music
Explored the different menu options.

Everything went just nicely.

------- Comment #7 From Bryan Østergaard (RETIRED) 2004-08-12 16:31:53 0000 -------
Stable on alpha.

------- Comment #8 From SpanKY 2004-08-13 05:44:41 0000 -------
stable on hppa ... dont know why you said it was stable on alpha; when i added
hppa, alpha was still in unstable ...

so i added alpha to stable too :p

------- Comment #9 From Jason Wever (RETIRED) 2004-08-13 21:52:44 0000 -------
Sorry for the lack of movement here folks.  There is a problem with sparc32 and
xine-lib which causes a failure in compiling.  I'm hoping to focus some serious
time on it tomorrow and get it straightened around.  It doed work fine on
sparc64 however, so if people feel that this really needs to get out pronto, we
can bump.

------- Comment #10 From Sune Kloppenborg Jeppesen 2004-08-13 22:22:30 0000 -------
Jason tomorrow is fine.

GLSA drafted: security please review

------- Comment #11 From Jason Wever (RETIRED) 2004-08-15 07:55:51 0000 -------
Marked stable on sparc.

sparc32 is still broken on this ebuild however.  I don't see this as a huge issue as most people probably aren't attempting to watch movies on a machine that can barely play mp3s.  However I will be opening up a seperate bug to try and get that issue fixed.

------- Comment #12 From Sune Kloppenborg Jeppesen 2004-08-15 08:16:21 0000 -------
All ready for GLSA. Security please review draft.

------- Comment #13 From Chris White (RETIRED) 2004-08-17 10:30:08 0000 -------
*** Bug 60692 has been marked as a duplicate of this bug. ***

------- Comment #14 From Sune Kloppenborg Jeppesen 2004-08-17 23:34:59 0000 -------
GLSA 200408-18

ppc64 please mark stable to benifit from GLSA.

------- Comment #15 From Tom Gall 2004-09-26 20:35:39 0000 -------
stable on ppc64 

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