FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

mplayer & libxine -- MMS and Real RTSP buffer overflow vulnerabilities

Affected packages
mplayer < 0.99.7
mplayer-esound < 0.99.7
mplayer-gtk < 0.99.7
mplayer-gtk-esound < 0.99.7
mplayer-gtk2 < 0.99.7
mplayer-gtk2-esound < 0.99.7
0.9.9 <= libxine < 1.0.1

Details

VuXML ID 91c606fc-b5d0-11d9-a788-0001020eed82
Discovery 2005-04-16
Entry 2005-04-25

A xine security announcement reports:

By a user receiving data from a malicious network streaming server, an attacker can overrun a heap buffer, which can, on some systems, lead to or help in executing attacker-chosen malicious code with the permissions of the user running a xine-lib based media application.

Both the MMS and Real RTSP streaming client code made some too-strong assumptions on the transferred data. Several critical bounds checks were missing, resulting in the possibility of heap overflows, should the remote server not adhere to these assumptions. In the MMS case, a remote server could present content with too many individual streams; in the RTSP case, a remote server's reply could have too many lines.

An attacker can set up a server delivering malicious data to the users. This can be used to overflow a heap buffer, which can, with certain implementations of heap management, lead to attacker chosen data written to the stack. This can cause attacker-chosen code being executed with the permissions of the user running the application. By tricking users to retrieve a stream, which can be as easy as providing a link on a website, this vulnerability can be exploited remotely.

References

Bugtraq ID 13270
Bugtraq ID 13271
CVE Name CVE-2005-1195
URL http://www.mplayerhq.hu/homepage/design7/news.html#vuln10
URL http://www.mplayerhq.hu/homepage/design7/news.html#vuln11
URL http://xinehq.de/index.php/security/XSA-2004-8