OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[ GLSA 200808-01 ] xine-lib: User-assisted execution of arbitrary code

From: Robert Buchholz (rbugentoo.org)
Date: Tue Aug 05 2008 - 19:02:36 CDT


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200808-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: xine-lib: User-assisted execution of arbitrary code
      Date: August 06, 2008
      Bugs: #213039, #214270, #218059
        ID: 200808-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

xine-lib is vulnerable to multiple buffer overflows when processing
media streams.

Background
==========

xine-lib is the core library package for the xine media player, and
other players such as Amarok, Codeine/Dragon Player and Kaffeine.

Affected packages
=================

    -------------------------------------------------------------------
     Package / Vulnerable / Unaffected
    -------------------------------------------------------------------
  1 media-libs/xine-lib < 1.1.13 >= 1.1.13

Description
===========

Multiple vulnerabilities have been discovered in xine-lib:

* Alin Rad Pop of Secunia reported an array indexing vulnerability in
  the sdpplin_parse() function in the file input/libreal/sdpplin.c when
  processing streams from RTSP servers that contain a large "streamid"
  SDP parameter (CVE-2008-0073).

* Luigi Auriemma reported multiple integer overflows that result in
  heap-based buffer overflows when processing ".FLV", ".MOV" ".RM",
  ".MVE", ".MKV", and ".CAK" files (CVE-2008-1482).

* Guido Landi reported a stack-based buffer overflow in the
  demux_nsf_send_chunk() function when handling titles within NES Music
  (.NSF) files (CVE-2008-1878).

Impact
======

A remote attacker could entice a user to play a specially crafted video
file or stream with a player using xine-lib, potentially resulting in
the execution of arbitrary code with the privileges of the user running
the player.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All xine-lib users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/xine-lib-1.1.13"

References
==========

  [ 1 ] CVE-2008-0073
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0073
  [ 2 ] CVE-2008-1482
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1482
  [ 3 ] CVE-2008-1878
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1878

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200808-01.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
securitygentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 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/2.5

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQIcBAABAgAGBQJImOogAAoJECaaHo/OfoM5r+0P/20VNJ9fekvjUn00X6dU8C5s
xsKkIsKdZT9uZHbK7n/dnaHZu7J0dmudIfz7wQCmgRYU+6Fsz7zaKaCcWBCik5Hb
iA/BCpmjAgFszlppSg1J6PTU6a+75Lp6vfeQnRLY67qVSi17b9xKvXTtYC6dHw3h
vUpPpHZBwalUaRX846PvIUVbQ8vJqTzb199KnzdWJ1kv1qwR6TOz3Bjmje7IQOA7
Yu1PeaVxBDpluw2oLMUJcBTdxLjPmqcQhBzWSjoU7AVFn5bHvPed1nSamOv2Ge3s
pWsm+xKdeC39vste0a6i/QFuqYdUz13pCHD37UunImVACPCC1MLJX9qgAEFvkOFb
S8PX8cFNjAcdmUTdj+LjNslkp4iHzjnSKd+2DhqfgTK9hQ6C/0NGNPj8bJE6gVY5
vRhou/4HC4aCuIcoEIRHepArFad4D6ls3cCJr5Hscr+7C11Eb0hPIgwsG/1UQEWd
OGdUjtqO1NHlQ34EMf+fClgxmj7ot6uH7MLVV/voGx8fvdX0Z/ghLjSn2qBK8qX3
uSAQGSPiVXhF+Tkq7UIaNYwAUwJ1R+yVVCC7y8cciSIgrZbgbPYoWgof7/L0QVIQ
RHUZl7qwOTwq8bcENciwaNQ85PJuI9XaggBMPyHUKU3txR4EW+x9hiJ9eMWtOQlU
ltEu8K81OQdl8frkWNMo
=L34O
-----END PGP SIGNATURE-----