SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#604745

Winamp fails to properly handle playlists with long "file" parameter

Overview

Winamp contains a buffer overflow vulnerability when processing a playlist that has a long file parameter. This may allow a remote unauthenticated attacker to execute arbitrary code on a vulnerable system.

I. Description

Winamp

Winamp is a media player for Microsoft Windows systems. It can play various types of media files, such as MP3s. Winamp was created by Nullsoft, which has been acquired by America Online.

Playlist

A Playlist (.PLS or .M3U) file is a text file that contains links to other media files to play. Winamp supports the use of playlist files.

The problem

Winamp contains a buffer overflow when it processes a playlist that has a large File parameter.

Note: Exploit code for this vulnerability is publicly available.

II. Impact

A remote unauthenticated attacker may be able to execute arbitrary code by convincing a user to open a specially crafted playlist. This can be achieved by creating a specially crafted web page or other HTML document that may launch Winamp without any user interaction.

III. Solution

Install an update


This vulnerability has been addressed by Winamp 5.2.

Disable Winamp playlist file association

Disable the file association for Winamp playlist files to help prevent windows applications from using Winamp to open playlists. This can be accomplished by deleting the following registry key:

    HKEY_CLASSES_ROOT\Winamp.Playlist
Configure your web browser

Because a web browser can be used as an attack vector for this vulnerability, configure your web browser to prompt before opening Winamp playlist files. This can help prevent automated exploitation as the result of viewing a web page.
    Internet Explorer

    Internet Explorer will open Winamp playlist files without prompting the user. It is possible to modify this behavior so that Internet Explorer will prompt the user before opening Winamp playlist files. To make this change, modify the following registry value:

    HKEY_CLASSES_ROOT\Winamp.Playlist\EditFlags

    Set the value to: REG_BINARY 00 00 00 00
    Mozilla Firefox

    The default configuration of Mozilla Firefox appears to prompt before opening Winamp playlist files. However, if the user has chosen to have playlist files open without prompting, this behavior can be reset by following the instructions in the document Securing Your Web Browser. This document provides instructions for how to configure Mozilla Firefox to save various file types to disk, rather than opening them with the associated application.
Do not open Winamp playlist files

Do not open Winamp playlist files (.PLS or .M3U) from untrusted sources.

Systems Affected

VendorStatusDate Updated
America Online, Inc.Vulnerable31-Jan-2006

References


http://milw0rm.com/id.php?id=1458
http://www.winamp.com/player/version_history.php
http://www.idefense.com/intelligence/vulnerabilities/display.php?id=377
http://secunia.com/advisories/18649
http://www.securityfocus.com/bid/16410
http://www.osvdb.org/displayvuln.php?osvdb_id=22789
http://xforce.iss.net/xforce/xfdb/24361
http://www.auscert.org.au/5984
http://www.idefense.com/intelligence/vulnerabilities/display.php?id=377

Credit

This vulnerability was publicly disclosed by ATmaCA.

This document was written by Will Dormann.

Other Information

Date Public01/29/2006
Date First Published01/31/2006 02:05:11 PM
Date Last Updated02/23/2006
CERT Advisory 
CVE NameCVE-2006-0476
US-CERT Technical Alerts 
Metric58.91
Document Revision21

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2006 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader