[原文]Buffer overflow in Nullsoft Winamp 5.094 allows remote attackers to execute arbitrary code via (1) an m3u file containing a long line ending in .wma or (2) a pls file containing a long File1 value ending in .wma, a different vulnerability than CVE-2006-0476.
iDefense Security Advisory 02.01.06 - It has been found that a specially crafted m3u or pls file with a target filename having the .wma extension can crash Winamp giving the attacker control over the EAX register. The vulnerability appears to have been silently fixed in Winamp 5.11.
Winamp m3u/pls .WMA Extension Buffer Overflow Vulnerability
iDefense Security Advisory 02.01.06
February 1, 2006
Winamp is a popular media player for Windows which supports many
audio/video file formats.
More information can be obtained from the vendors site at:
It has been found that a specially crafted m3u or pls file with a
target filename having the .wma extension can crash Winamp giving the
attacker control over the EAX register.
Example m3U file format:
Example pls file format:
When Winamp is installed it registers the m3u and pls extensions so that
such files will automatically open in Winamp. This exploit can be
triggered by clicking on a link in a web page, or through the use of
The crash occurs in the Winamp module with the following instructions:
mov edx, [eax]
The number of characters that can be inject is limited. With control
of the EAX register injected into the above code, meaningful
shellcode execution is possible.
This vulnerability has been verified in version 5.094 of Winamp.
Removing the file mapping for m3u and pls files to Winamp should
mitigate the risk of exploitation.
VI. VENDOR RESPONSE
The vendor has not responded to communication regarding this
The vulnerability appears to have been silently fixed in Winamp 5.11.
Version 5.13 is now available for download at:
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2005-3188 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
VIII. DISCLOSURE TIMELINE
10/12/2005 Initial vendor notification
02/01/2006 Coordinated public disclosure
This vulnerability was discovered by b0f.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright (c) 2006 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email email@example.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
A remote overflow exists in WinAmp. The application fails to perform proper bounds checking resulting in a buffer overflow. With a specially crafted '*.m3u' and/or '*.pls' file and an ending filename having the '*.wma' extension, a remote attacker can cause arbitrary code execution or the application to crash resulting in a loss of integrity and/or availability.
Upgrade to version 5.13 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.
This issue was discovered by Alan Mccaig (b0f) <firstname.lastname@example.org>.
NullSoft Winamp 5.094
NullSoft Winamp 5.13
NullSoft Winamp 5.13
Winamp is susceptible to a buffer-overflow vulnerability when handling specially crafted playlist files. An attacker may exploit this issue to gain unauthorized access to a computer with the privileges of the user that activated the vulnerable application.
Winamp version 5.094 is reported susceptible to this issue; other versions may also be affected.
This issue is similar to the one described in BID 16410 (Nullsoft Winamp Malformed Playlist File Handling Remote Buffer Overflow Vulnerability), but they likely exist in differing code paths in the application.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: email@example.com <mailto:firstname.lastname@example.org>.
This issue has reportedly been silently fixed in version 5.13 of Winamp.