mpg123 find_next_file function buffer overflow
| mpg123-findnextfile-bo (18626) |
Description:
mpg123 is vulnerable to a buffer overflow, caused by improper bounds checking in the find_next_file function in the 'playlist.c' file. By sending a specially-crafted MP3 playlist, a remote attacker could overflow a buffer and execute arbitrary code on the system with privileges of the user, once the playlist is processed.
Platforms Affected:
- Gentoo, Linux
- mpg123, mpg123 0.59 r
Remedy:
For Gentoo Linux:
Upgrade to the latest version of mpg123 (0.59s-r8 or later), as listed in GLSA 200412-22. See References.
Consequences:
Gain Access
References:
- mpg123 Web site, mpg123, Fast MP3 Player for Linux and UNIX systems at http://www.mpg123.de/.
- University of Illinois Chicago Web site, mpg123 0.59r find_next_file overflows linetmp buffer at http://tigger.uic.edu/~jlongs2/holes/mpg123.txt.
- BID-11958: MPG123 Find Next File Remote Client-Side Buffer Overflow Vulnerability
- CVE-2004-1284: Buffer overflow in the find_next_file function in playlist.c for mpg123 0.59r allows remote attackers to execute arbitrary code via a crafted MP3 playlist.
- GLSA-200412-22: mpg123: Playlist buffer overflow
- SUSE-SR:2005:001: SUSE Security Summary Report
Reported:
Dec 16, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
