Apple iTunes Multiple Vulnerabilities-HT209140

2018-10-04T00:00:00
ID OPENVAS:1361412562310814308
Type openvas
Reporter Copyright (C) 2018 Greenbone Networks GmbH
Modified 2019-07-05T00:00:00

Description

This host is running Apple iTunes and is prone to multiple vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
#
# Apple iTunes Multiple Vulnerabilities-HT209140 (Windows)
#
# Authors:
# Vidita V Koushik <vidita@secpod.com>
#
# Copyright:
# Copyright (C) 2018 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.814308");
  script_version("2019-07-05T09:54:18+0000");
  script_cve_id("CVE-2018-4191", "CVE-2018-4311", "CVE-2018-4316", "CVE-2018-4299",
                "CVE-2018-4323", "CVE-2018-4328", "CVE-2018-4358", "CVE-2018-4359",
                "CVE-2018-4319", "CVE-2018-4309", "CVE-2018-4197", "CVE-2018-4306",
                "CVE-2018-4312", "CVE-2018-4314", "CVE-2018-4315", "CVE-2018-4317",
                "CVE-2018-4318", "CVE-2018-4345", "CVE-2018-4361");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2019-07-05 09:54:18 +0000 (Fri, 05 Jul 2019)");
  script_tag(name:"creation_date", value:"2018-10-04 10:51:28 +0530 (Thu, 04 Oct 2018)");
  script_name("Apple iTunes Multiple Vulnerabilities-HT209140");

  script_tag(name:"summary", value:"This host is running Apple iTunes and is
  prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present
  on the target host.");

  script_tag(name:"insight", value:"Multiple flaws exist due to,

  - Multiple memory corruption issues.

  - A cross-origin issue with iframe elements.

  - A cross-site scripting issue in Safari.

  - A use after free issue.

  - A memory consumption issue.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to conduct cross site scripting and arbitrary code execution.");

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

  script_tag(name:"solution", value:"Upgrade to Apple iTunes 12.9 or later. Please see the references for more information.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"registry");
  script_xref(name:"URL", value:"https://support.apple.com/en-ie/HT209140");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2018 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("secpod_apple_itunes_detection_win_900123.nasl");
  script_mandatory_keys("iTunes/Win/Ver");
  exit(0);
}

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

if(!infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE )) exit(0);
appVer = infos['version'];
appPath = infos['location'];

if(version_is_less(version:appVer, test_version:"12.9"))
{
  report = report_fixed_ver(installed_version:appVer, fixed_version:"12.9", install_path: appPath);
  security_message(data:report);
  exit(0);
}