VLC Media Player TTA Processing Integer Overflow Vulnerability

2008-08-22T00:00:00
ID OPENVAS:900112
Type openvas
Reporter Copyright 2008 SecPod
Modified 2017-02-20T00:00:00

Description

The host is running VLC Media Player, which is prone to a integer overflow vulnerability.

                                        
                                            ##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_vlc_media_player_intgr_overflow_vuln_900112.nasl 5370 2017-02-20 15:24:26Z cfi $
# Description: VLC Media Player TTA Processing Integer Overflow Vulnerability
#
# Authors:
# Sharath S <sharaths@secpod.com>
#
# Copyright:
# 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 = "Remote exploitation will cause application to crash or allow
        execution of arbitrary code or deny the service.
 Impact Level : Application";

tag_solution = "Upgrade to VLC Media Player version 1.0 or later,
 For updates refer to http://www.videolan.org/";

tag_affected = "VLC Media Player version 0.8.6i and prior on Windows (All).";

tag_insight = "The flaw is due to an overflow error when processing TTA data in Open()
        method in modules/demux/tta.c file.";


tag_summary = "The host is running VLC Media Player, which is prone to a integer
 overflow vulnerability.";


if(description)
{
 script_id(900112);
 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-08-22 10:29:01 +0200 (Fri, 22 Aug 2008)");
 script_cve_id("CVE-2008-3732");
 script_bugtraq_id(30718);
 script_copyright("Copyright 2008 SecPod");
 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_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"registry");
 script_family("Denial of Service");
 script_name("VLC Media Player TTA Processing Integer Overflow Vulnerability");

 script_dependencies("secpod_reg_enum.nasl");
 script_mandatory_keys("SMB/WindowsVersion");
 script_require_ports(139, 445);
 script_xref(name : "URL" , value : "http://www.orange-bat.com/adv/2008/adv.08.16.txt");
 script_xref(name : "URL" , value : "http://www.frsirt.com/english/advisories/2008/2394");
 script_tag(name : "summary" , value : tag_summary);
 script_tag(name : "insight" , value : tag_insight);
 script_tag(name : "affected" , value : tag_affected);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "impact" , value : tag_impact);
 exit(0);
}


 include("smb_nt.inc");

 if(!get_kb_item("SMB/WindowsVersion")){
        exit(0);
 }

 vlcVer = registry_get_sz(key:"SOFTWARE\VideoLAN\VLC", item:"Version");
 if(egrep(pattern:"^0\.([0-7]\..*|8\.([0-5][a-z]?|6[a-i]?))$", string:vlcVer)){
	security_message(0);
 }