This host has COWON Media Center JetAudio installed and is prone
to Buffer Overflow vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_cowon_jetaudio_title_bof_vuln.nasl 6532 2017-07-05 07:42:05Z cfischer $
#
# jetAudio jetCast Title Processing Buffer Overflow Vulnerability
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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
and cause a stack-based buffer overflow by tricking the user into opening an
MP3 or FLAC file containing an overly long title.
Impact Level: Application";
tag_affected = "COWON Media Center JetAudio 7.5.2 through 7.5.3.15 on Windows";
tag_insight = "The flaw is due to a boundary error in the jetCast component when processing
song titles.";
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.";
tag_summary = "This host has COWON Media Center JetAudio installed and is prone
to Buffer Overflow vulnerability.";
if(description)
{
script_id(800994);
script_version("$Revision: 6532 $");
script_tag(name:"last_modification", value:"$Date: 2017-07-05 09:42:05 +0200 (Wed, 05 Jul 2017) $");
script_tag(name:"creation_date", value:"2010-03-10 15:48:25 +0100 (Wed, 10 Mar 2010)");
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-2009-4668", "CVE-2009-4676");
script_name("jetAudio jetCast Title Processing Buffer Overflow Vulnerability");
script_xref(name : "URL" , value : "http://secunia.com/advisories/35195");
script_xref(name : "URL" , value : "http://www.milw0rm.com/exploits/8780");
script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/archive/1/503826/100/0/threaded");
script_tag(name:"qod_type", value:"executable_version");
script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
script_category(ACT_GATHER_INFO);
script_family("Buffer overflow");
script_dependencies("secpod_cowon_jetaudio_detect.nasl");
script_mandatory_keys("JetAudio/Ver");
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");
jaVer = get_kb_item("JetAudio/Ver");
if(jaVer != NULL)
{
if(version_in_range(version:jaVer, test_version:"7.5.2", test_version2:"7.5.3.15"))
{
exePath = registry_get_sz(key:"SOFTWARE\COWON\Jet-Audio", item:"InstallPath_Main");
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:exePath);
file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:exePath +
"\JetCast.exe");
exeVer = GetVer(file:file, share:share);
if(exeVer != NULL)
{
# Check if the version is equal to 2.0.4.1109
if(version_is_less_equal(version:exeVer, test_version:"2.0.4.1109")){
security_message(0);
}
}
}
}