Apple iTunes Arbitrary Code Execution Vulnerability (Windows)

2016-11-22T00:00:00
ID OPENVAS:1361412562310810208
Type openvas
Reporter Copyright (C) 2016 Greenbone Networks GmbH
Modified 2017-12-19T00:00:00

Description

This host is installed with Apple iTunes and is prone to arbitrary code execution vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apple_itunes_code_exec_vuln.nasl 8169 2017-12-19 08:42:31Z cfischer $
#
# Apple iTunes Arbitrary Code Execution Vulnerability (Windows)
#
# Authors:
# Rinu Kuriakose <krinu@secpod.com>
#
# Copyright:
# Copyright (C) 2016 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.
###############################################################################
CPE = "cpe:/a:apple:itunes";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.810208");
  script_version("$Revision: 8169 $");
  script_cve_id("CVE-2016-1742");
  script_bugtraq_id(90688);
  script_tag(name:"cvss_base", value:"7.2");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-12-19 09:42:31 +0100 (Tue, 19 Dec 2017) $");
  script_tag(name:"creation_date", value:"2016-11-22 11:05:47 +0530 (Tue, 22 Nov 2016)");
  script_name("Apple iTunes Arbitrary Code Execution Vulnerability (Windows)");

  script_tag(name: "summary" , value: "This host is installed with Apple iTunes
  and is prone to arbitrary code execution vulnerability.");

  script_tag(name: "vuldetect" , value: "Get the installed version with the
  help of detect NVT and check the version is vulnerable or not.");

  script_tag(name: "insight" , value: "The flaw is due to a dynamic library 
  loading issue in iTunes setup.");

  script_tag(name: "impact" , value:"Successful exploitation will allow remote
  attackers to local users to gain privileges via a Trojan horse DLL in the 
  current working directory.

  Impact Level: System/Application");

  script_tag(name: "affected" , value:"Apple iTunes versions before 12.4
  on Windows.");

  script_tag(name: "solution" , value:"Upgrade to Apple iTunes 12.4 or later,
  For updates refer to http://www.apple.com/itunes");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"registry");

  script_xref(name: "URL" , value : "https://support.apple.com/en-us/HT206379");
  script_xref(name: "URL" , value : "http://lists.apple.com/archives/security-announce/2016/May/msg00006.html");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("secpod_apple_itunes_detection_win_900123.nasl");
  script_mandatory_keys("iTunes/Win/Installed");
  exit(0);
}


include("host_details.inc");
include("version_func.inc");

## Variable Initialization
ituneVer= "";

## Get version
if(!ituneVer = get_app_version(cpe:CPE)){
  exit(0);
}

##  Check for Apple iTunes vulnerable versions, 12.4.0 == 12.4.0.119
if(version_is_less(version:ituneVer, test_version:"12.4.0.119"))
{
  report = report_fixed_ver(installed_version:ituneVer, fixed_version:"12.4.0");
  security_message(data:report);
  exit(0);
}