Vulnerabilities > CVE-2008-0065 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Winamp Nullsoft Winamp 5.21/5.5/5.51

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
winamp
CWE-119
critical
nessus
exploit available
metasploit

Summary

Multiple stack-based buffer overflows in in_mp3.dll in Winamp 5.21, 5.5, and 5.51 allow remote attackers to execute arbitrary code via a long (1) artist or (2) name tag in Ultravox streaming metadata, related to construction of stream titles.

Vulnerable Configurations

Part Description Count
Application
Winamp
3

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionWinamp Ultravox Streaming Metadata (in_mp3.dll) Buffer Overflow. CVE-2008-0065. Remote exploit for windows platform
idEDB-ID:16611
last seen2016-02-02
modified2010-05-09
published2010-05-09
reportermetasploit
sourcehttps://www.exploit-db.com/download/16611/
titleWinamp Ultravox Streaming Metadata in_mp3.dll - Buffer Overflow

Metasploit

descriptionThis module exploits a stack buffer overflow in Winamp 5.24. By sending an overly long artist tag, a remote attacker may be able to execute arbitrary code. This vulnerability can be exploited from the browser or the Winamp client itself.
idMSF:EXPLOIT/WINDOWS/BROWSER/WINAMP_ULTRAVOX
last seen2020-03-10
modified2017-09-14
published2008-03-01
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0065
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/winamp_ultravox.rb
titleWinamp Ultravox Streaming Metadata (in_mp3.dll) Buffer Overflow

Nessus

NASL familyWindows
NASL idWINAMP_552.NASL
descriptionThe remote host is using Winamp, a popular media player for Windows. The version of Winamp installed on the remote Windows host reportedly contains two stack-based buffer overflows in
last seen2020-06-01
modified2020-06-02
plugin id29998
published2008-01-18
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/29998
titleWinamp < 5.52 Ultravox Streaming Metadata in_mp3.dll Multiple Tag Overflow
code
#
# (C) Tenable Network Security, Inc.
#



include("compat.inc");

if (description)
{
  script_id(29998);
  script_version("1.14");

  script_cve_id("CVE-2008-0065");
  script_bugtraq_id(27344);
  script_xref(name:"Secunia", value:"27865");

  script_name(english:"Winamp < 5.52 Ultravox Streaming Metadata in_mp3.dll Multiple Tag Overflow");
  script_summary(english:"Checks the version number of Winamp"); 
 
 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains a multimedia application that is
affected by multiple buffer overflow vulnerabilities." );
 script_set_attribute(attribute:"description", value:
"The remote host is using Winamp, a popular media player for Windows. 

The version of Winamp installed on the remote Windows host reportedly
contains two stack-based buffer overflows in 'in_mp3.dll' when parsing
Ultravox streaming metadata that can be triggered by overly-long
'<artist>' and '<name>' tag values.  If an attacker can trick a user
on the affected host into opening a specially crafted file, he could be
able to leverage this issue to execute arbitrary code on the host
subject to the user's privileges." );
 script_set_attribute(attribute:"see_also", value:"https://secuniaresearch.flexerasoftware.com/secunia_research/2008-2/advisory/" );
 script_set_attribute(attribute:"see_also", value:"http://www.winamp.com/player/version-history" );
 script_set_attribute(attribute:"see_also", value:"http://forums.winamp.com/showthread.php?threadid=285024" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to Winamp version 5.52 or later." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"exploit_framework_core", value:"true");
 script_set_attribute(attribute:"metasploit_name", value:'Winamp Ultravox Streaming Metadata (in_mp3.dll) Buffer Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_cwe_id(119);

 script_set_attribute(attribute:"plugin_publication_date", value: "2008/01/18");
 script_cvs_date("Date: 2018/11/15 20:50:29");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:nullsoft:winamp");
script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");
  script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");
  script_dependencies("winamp_in_cdda_buffer_overflow.nasl");
  script_require_keys("SMB/Winamp/Version");
  exit(0);
}

# Check version of Winamp.

#
# nb: the KB item is based on GetFileVersion, which may differ
#     from what the client reports.

version = get_kb_item("SMB/Winamp/Version");
if (isnull(version)) exit(0);

ver = split(version, sep:'.', keep:FALSE);
for (i=0; i<max_index(ver); i++)
  ver[i] = int(ver[i]);

fix = split("5.5.2.1800", sep:'.', keep:FALSE);
for (i=0; i<max_index(fix); i++)
  fix[i] = int(fix[i]);

for (i=0; i<max_index(ver); i++)
  if ((ver[i] < fix[i]))
  {
    security_hole(get_kb_item("SMB/transport"));
    break;
  }
  else if (ver[i] > fix[i])
    break;

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/82952/winamp_ultravox.rb.txt
idPACKETSTORM:82952
last seen2016-12-05
published2009-11-26
reporterMC
sourcehttps://packetstormsecurity.com/files/82952/Winamp-Ultravox-Streaming-Metadata-in_mp3.dll-Buffer-Overflow.html
titleWinamp Ultravox Streaming Metadata (in_mp3.dll) Buffer Overflow

Saint

bid27344
descriptionWinamp Ultravox streaming metadata artist tag buffer overflow
idmisc_winamp
osvdb41707
titlewinamp_ultravox_artist
typeclient

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 27344 CVE(CAN) ID: CVE-2008-0065 Winamp是一款流行的媒体播放器,支持多种文件格式。 Winamp在处理畸形格式的数据时存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞控制用户系统。 Winamp的in_mp3.dll库在解析Ultravox流元数据时没有正确地创建流标题。如果&lt;metadata&gt;部分设置了超长的&lt;artist&gt;和&lt;name&gt;标签值的话,就可能触发栈溢出,导致执行任意指令。 Nullsoft Winamp 5.51 Nullsoft Winamp 5.5 Nullsoft Winamp 5.21 Nullsoft -------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://www.winamp.com/ target=_blank>http://www.winamp.com/</a>
idSSV:2840
last seen2017-11-19
modified2008-01-21
published2008-01-21
reporterRoot
titleWinamp Ultravox流元数据多个栈溢出漏洞