MPlayer fails to properly allocate a memory buffer for URL strings containing characters that need to be escaped.
MPlayer is a movie player for Linux and other Unix-based operating systems. MPlayer fails to properly allocate a memory buffer for URL strings containing characters that need to be escaped. When escaping characters in a URL, a single character may be replaced by three. For instance, the space character may be replaced by %20. There is a vulnerability in the way MPlayer allocates memory to store the escaped representation of the URL. By sending a "Location" HTTP header containing an overly long URL with many un-escaped characters, an attacker can trigger a buffer overflow.
According to the MPlayer Advisory, the following versions are affected:
By convincing a user to play a media file containing a specially crafted "Location" HTTP header, an attacker could cause MPlayer to crash or potentially execute code of the attacker's choice with privileges of the victim.
UpgradeAccording to the MPlayer Advisory, users of MPlayer 1.0pre3 should upgrade to the latest CVS. MPlayer 0.92 (and below) users should upgrade to 0.92.1 or the latest CVS.
This vulnerability was reported by blexim.
This document was written by Damon Morda.
|Date First Published:||2004-04-09|
|Date Last Updated:||2004-04-09 13:48 UTC|