Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow - Nessus

High   Plugin ID: 38858

This page contains detailed information about the Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 38858
Name: Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow
Filename: winamp_5552.nasl
Vulnerability Published: N/A
This Plugin Published: 2009-05-22
Last Modification Time: 2022-04-11
Plugin Version: 1.15
Plugin Type: local
Plugin Family: Windows
Dependencies: winamp_in_cdda_buffer_overflow.nasl
Required KB Items [?]: SMB/Winamp/Version

Vulnerability Information


Severity: High
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-2009-1831
CPE [?]: cpe:/a:nullsoft:winamp

Synopsis

The remote Windows host contains a multimedia application that is affected by an integer overflow vulnerability.

Description

The remote host is running Winamp, a media player for Windows.

The version of Winamp installed on the remote host is earlier than 5.552. Such versions are reportedly affected by an integer overflow vulnerability when processing '.maki' files. An attacker could exploit this to execute arbitrary code in the context of the affected application.

Solution

Upgrade to Winamp version 5.552 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, ExploitHub, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow vulnerability:

  1. Metasploit: exploit/windows/fileformat/winamp_maki_bof
    [Winamp MAKI Buffer Overflow]
  2. Exploit-DB: exploits/windows/local/21256.rb
    [EDB-21256: Winamp - MAKI Buffer Overflow (Metasploit)]
  3. GitHub: https://github.com/newlog/curso_exploiting_en_windows
    [CVE-2009-1831]
  4. ExploitHub: EH-12-178

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


This is the winamp_5552.nasl nessus plugin source code. This script is Copyright (C) 2009-2022 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(38858);
  script_version("1.15");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2009-1831");
  script_bugtraq_id(35052);

  script_name(english:"Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains a multimedia application that is
affected by an integer overflow vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote host is running Winamp, a media player for Windows.

The version of Winamp installed on the remote host is earlier than
5.552. Such versions are reportedly affected by an integer overflow 
vulnerability when processing '.maki' files. An attacker
could exploit this to execute arbitrary code in the context of the
affected application.");
  # http://vrt-sourcefire.blogspot.com/2009/05/winamp-maki-parsing-vulnerability.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a206c855");
  script_set_attribute(attribute:"see_also", value:"http://forums.winamp.com/showthread.php?threadid=303193#notes9");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Winamp version 5.552 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 MAKI Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_exploithub", value:"true");
  script_set_attribute(attribute:"exploithub_sku", value:"EH-12-178");
  script_cwe_id(189);

  script_set_attribute(attribute:"plugin_publication_date", value:"2009/05/22");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:nullsoft:winamp");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2009-2022 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.5.2435", 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;

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/winamp_5552.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\winamp_5552.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/winamp_5552.nasl

Go back to menu.

How to Run


Here is how to run the Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows plugin family.
  6. On the right side table select Winamp < 5.552 Modern Skins Support Module (gen_ff.dll) MAKI File Handling Overflow plugin ID 38858.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl winamp_5552.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a winamp_5552.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - winamp_5552.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state winamp_5552.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CWE | Common Weakness Enumeration: See also: Similar and related Nessus plugins:
  • 20826 - Winamp < 5.13 Playlist Handling Multiple Overflows
  • 21738 - Winamp < 5.24 in_midi.dll MIDI File Processing Overflow
  • 20973 - Winamp < 5.2 Multiple Vulnerabilities
  • 25956 - Winamp < 5.35 MP4 File Handling Buffer Overflow
  • 29998 - Winamp < 5.52 Ultravox Streaming Metadata in_mp3.dll Multiple Tag Overflow
  • 35788 - Winamp < 5.55 AIFF File Handling Overflow
  • 50379 - Winamp < 5.59 build 3033 Multiple Vulnerabilities
  • 51091 - Winamp < 5.601 MIDI Timestamp Stack-based Buffer Overflow
  • 67207 - Winamp < 5.64 Multiple Vulnerabilities

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file winamp_5552.nasl version 1.15. For more plugins, visit the Nessus Plugin Library.

Go back to menu.