Secunia Research: xine-lib "sdpplin_parse()" Array Indexing Vulnerability

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

                     Secunia Research 19/03/2008

     - xine-lib "sdpplin_parse()" Array Indexing Vulnerability -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software 

* xine-lib 1.1.10.1

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Highly critical
Impact: System access
Where:  Remote

====================================================================== 
3) Vendor's Description of Software 

"xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. 
It also decodes multimedia files like AVI, MOV, WMV, and MP3 from 
local disk drives, and displays multimedia streamed over the Internet".

Product Link:
http://xinehq.de/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in xine-lib, which can
be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to a boundary error within the 
"sdpplin_parse()" function in input/libreal/sdpplin.c and can be 
exploited to overwrite arbitrary memory regions via an overly large 
"streamid" SDP parameter included in a malicious RTSP stream.

Successful exploitation allows execution of arbitrary code.

====================================================================== 
5) Solution 

Do not open untrusted RTSP streams.

A patch or updated version should be available shortly.

====================================================================== 
6) Time Table 

10/03/2008 - Vendor notified.
10/03/2008 - vendor-sec notified.
12/03/2008 - Vendor response.
19/03/2008 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Alin Rad Pop, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2008-0073 for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://corporate.secunia.com/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://corporate.secunia.com/secunia_research/33/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/secunia_vacancies/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/secunia_security_advisories/ 

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2008-10/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

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