VLC Media Player TiVo Demuxer Double Free Vulnerability (Mac OS X)

2012-11-02T00:00:00
ID OPENVAS:1361412562310802487
Type openvas
Reporter Copyright (c) 2012 Greenbone Networks GmbH
Modified 2018-10-12T00:00:00

Description

This host is installed with VLC Media Player and is prone to double free vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vlc_media_player_demuxer_double_free_vuln_macosx.nasl 11857 2018-10-12 08:25:16Z cfischer $
#
# VLC Media Player TiVo Demuxer Double Free Vulnerability (Mac OS X)
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# Copyright:
# Copyright (c) 2012 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.802487");
  script_version("$Revision: 11857 $");
  script_cve_id("CVE-2012-0023", "CVE-2011-5231");
  script_bugtraq_id(51147, 51231);
  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_tag(name:"last_modification", value:"$Date: 2018-10-12 10:25:16 +0200 (Fri, 12 Oct 2018) $");
  script_tag(name:"creation_date", value:"2012-11-02 12:41:07 +0530 (Fri, 02 Nov 2012)");
  script_name("VLC Media Player TiVo Demuxer Double Free Vulnerability (Mac OS X)");
  script_xref(name:"URL", value:"http://secunia.com/advisories/47325");
  script_xref(name:"URL", value:"http://securitytracker.com/id?1026449");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/71916");
  script_xref(name:"URL", value:"http://www.videolan.org/security/sa1108.html");

  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("Denial of Service");
  script_dependencies("gb_vlc_media_player_detect_macosx.nasl");
  script_mandatory_keys("VLC/Media/Player/MacOSX/Version");
  script_tag(name:"impact", value:"Successful exploitation will allow an attacker to crash an affected
  application and denying service to legitimate users.");
  script_tag(name:"affected", value:"VLC media player version 0.9.0 to 1.1.12 on Mac OS X");
  script_tag(name:"insight", value:"The flaw is due to a double-free error within the 'get_chunk_header()'
  function in 'modules/demux/ty.c' of the TiVo demuxer when opening a specially
  crafted TiVo (*.ty) file.");
  script_tag(name:"solution", value:"Upgrade VLC media player to 1.1.13 or later.");
  script_tag(name:"summary", value:"This host is installed with VLC Media Player and is prone to
  double free vulnerability.");
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"http://www.videolan.org/vlc/");
  exit(0);
}


include("version_func.inc");

vlcVer = get_kb_item("VLC/Media/Player/MacOSX/Version");
if(!vlcVer){
  exit(0);
}

if(version_in_range(version:vlcVer, test_version:"0.9.0", test_version2:"1.1.12")){
  security_message( port: 0, data: "The target host was found to be vulnerable" );
}