Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[NT] Buffer Overflow in WinAMP in_cdda.dll CDA Device Name

Subject: [NT] Buffer Overflow in WinAMP in_cdda.dll CDA Device Name
Date: 27 Jan 2005 18:43:34 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Buffer Overflow in WinAMP in_cdda.dll CDA Device Name
------------------------------------------------------------------------


SUMMARY

WinAMP is "a popular media player that supports various media and playlist 
formats, including playlists in m3u or pls format".

NSFocus Security Team has found a buffer overflow vulnerability in the 
plug-in by which WinAMP plays CD. An attacker can construct a malicious 
playlist file that is embedded in a HTML page. If a user is persuaded to 
click it, then the attacker can gain complete control over the user's 
system.

DETAILS

Vulnerable Systems:
 * Nullsoft WinAMP version 5.08 and prior

Immune Systems:
 * Nullsoft WinAMP version 2.xx
 * Nullsoft WinAMP version 5.08c or newer

WinAMP implements various functionalities through different plug-ins that 
are stored in "plugins" sub-directory of WinAMP installation directory. 
For example, in_mp3.dll is used to play MP3 files and in_cdda.dll is used 
to play CD.

The in_cdda.dll of WinAMP supports play path requests in the following 
format:
  1. <Driver\><PathName\>[FileName].cda
  2. linein://
  3. cda://
  4. cda://<Driver>
  5. cda://<Driver>,<TrackNumber>

Brett Moore of Security-Assessment.com discovered a stack overflow when 
in_cdda.dll handles the first path. WinAMP released version 5.07 to fix 
that vulnerability.

Actually, in_cdda.dll will still cause an overflow when handling 4th and 
5th path above. Stack overflow will be triggered only by adding an 
over-long device name or sound track number behind "cda://".

Any method that can pass a play path to WinAMP can be used to trigger this 
vulnerability, for example, command line.

One possible remote attacking vector is to construct a playlist file in 
m3u or pls format with an over-long path embedded in HTML. Once a user 
visits such a malicious page, it will execute the code of attacker's 
choice.

Workaround:
NSFOCUS suggests to remove in_cdda.dll from Plugins of WinAMP.

Vendor Status:
2004.11.24 - Informed the vendor support@winamp.com, no response
2004.12.06 - Tests proved WinAMP 5.07 is affected, informed the vendor 
again
2004.12.07 - The vendor confirmed the vulnerability
2004.12.25 - Tests proved WinAMP 5.08 is affected, informed the vendor
2005.01.10 - The vendor released WinAMP 5.08c to fix the vulnerability

The vendor has released WinAMP 5.08c to fix this vulnerability. The latest 
version is available at  <http://www.winamp.com/player/> 
http://www.winamp.com/player/

CVE Information:
 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1150> 
CAN-2004-1150


ADDITIONAL INFORMATION

The information has been provided by  <mailto:security@nsfocus.com> 
NSFOCUS Security Team.
The original article can be found at:  
<http://www.nsfocus.com/english/homepage/research/0501.htm> 
http://www.nsfocus.com/english/homepage/research/0501.htm



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [NT] Buffer Overflow in WinAMP in_cdda.dll CDA Device Name, SecuriTeam <=