SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Winamp m3u Parsing Stack Overflow Vulnerability


Arrow  SecurityAlert : 398
Arrow  CVE : CVE-2006-0476
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : Yes
Arrow  Exploit Available : No
Arrow  Credit : Alan Mccaig & Ruben Santamarta
Arrow  Published : 02.02.2006

Arrow  Affected Software : Winamp 5.11



Arrow  Advisory Content :  

Winamp m3u Parsing Stack Overflow Vulnerability

iDefense Security Advisory 02.01.06
http://www.idefense.com/intelligence/vulnerabilities/display.php?id=377
February 1, 2006

I. BACKGROUND

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:

http://winamp.com/player/

II. DESCRIPTION

It has been found that a specially crafted m3u or pls file can overwrite
a stack based buffer allowing for remote code execution.

Example m3U file format:

#EXTM3U
#EXTINF:,VULN
AAAA[...]AA

Example pls file to trigger exploit:

[playlist]
numberofentries=1
File1=\01 01AAA[...]AAA

This vulnerability is specific to the 5.11 version of Winamp and does
not affect previous versions.

III. ANALYSIS

When Winamp is installed it registers the m3u extension so that such
files will automatically open in Winamp. This exploit can be triggered
by clicking on a link in a webpage, or from the use of malicious
javascript.

Exploitation is straight forward, using a long full path. This path
can be either a filename or the UNC name for a fileshare, which does
not have to exist.

Public exploit code has been independently released for this
vulnerability (http://www.spyinstructors.com).

IV. DETECTION

This exploit was tested with version 5.11 of Winamp. Previous versions
were tested and found to not be exploitable.

V. WORKAROUND

Removing the file associations for the m3u and pls file extension may
mitigate the risk of exploitation.

VI. VENDOR RESPONSE

The vendor has not responded to communication regarding this
vulnerability.

The vulnerability appears to have been silently fixed in Winamp 5.13
which is available for download at:

http://www.winamp.com/player/

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-0476 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

12/15/2005 Initial vendor notification
02/01/2006 Public disclosure

IX. CREDIT

This vulnerability was independently discovered by Alan Mccaig (b0f)
b0fnet (at) yahoo (dot) com [email concealed] and Ruben Santamarta (ruben
(at) reversemode (dot) com [email concealed]).

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

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 customerservice (at) idefense (dot) com [email concealed] 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,
this information.





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.