This host has Realtek Media Player installed and is prone to
buffer overflow vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_realtek_media_player_bof_vuln.nasl 5370 2017-02-20 15:24:26Z cfi $
#
# Realtek Media Player Playlist Buffer Overflow Vulnerability
#
# Authors:
# Chandan S <[email protected]>
#
# Copyright (c) 2008 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
tag_impact = "Successful exploitation will allow remote attackers to execute arbitrary
code to cause buffer overflow and can lead to application crash.
Impact Level: Application";
tag_affected = "Realtek Media Player A4.06 (5.36) and prior on Windows.";
tag_insight = "The issue is due to improper bounds checking when processing
playlist files.";
tag_solution = "No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided
anymore. General solution options are to upgrade to a newer release,
disable respective features, remove the product or replace the product by
another one.
For updates refer to http://www.realtek.com.tw/downloads/";
tag_summary = "This host has Realtek Media Player installed and is prone to
buffer overflow vulnerability.";
if(description)
{
script_id(900067);
script_version("$Revision: 5370 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 2017) $");
script_tag(name:"creation_date", value:"2008-12-29 13:55:43 +0100 (Mon, 29 Dec 2008)");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2008-5664");
script_bugtraq_id(32860);
script_name("Realtek Media Player Playlist Buffer Overflow Vulnerability");
script_xref(name : "URL" , value : "http://www.milw0rm.com/exploits/7492");
script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/47380");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"registry");
script_copyright("Copyright (C) 2008 SecPod");
script_family("Denial of Service");
script_dependencies("secpod_reg_enum.nasl");
script_mandatory_keys("SMB/WindowsVersion");
script_require_ports(139, 445);
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_tag(name:"solution_type", value:"WillNotFix");
exit(0);
}
include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
if(!get_kb_item("SMB/WindowsVersion")){
exit(0);
}
if(!registry_key_exists(key:"SOFTWARE\Realtek Semiconductor Corp.")){
exit(0);
}
key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)){
exit(0);
}
foreach item (registry_enum_keys(key:key))
{
if("Realtek" >< registry_get_sz(key:key + item, item:"DisplayName"))
{
rmpVer = registry_get_sz(key:key + item, item:"DisplayVersion");
if(!rmpVer){
exit(0);
}
# Realtek Version <= 5.36 (A4.06)
if(version_is_less_equal(version:rmpVer, test_version:"5.36")){
security_message(0);
}
exit(0);
}
}