This host is running Apple Safari and is
prone to multiple vulnerabilities.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apple_safari_webkit_mult_vuln_mar15_macosx.nasl 14319 2019-03-19 11:49:19Z cfischer $
#
# Apple Safari 'Webkit' Multiple Vulnerabilities -01 Mar15 (Mac OS X)
#
# Authors:
# Rinu Kuriakose <[email protected]>
#
# Copyright:
# Copyright (C) 2015 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:safari";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.805498");
script_version("$Revision: 14319 $");
script_cve_id("CVE-2015-1084", "CVE-2015-1083", "CVE-2015-1082", "CVE-2015-1081",
"CVE-2015-1080", "CVE-2015-1079", "CVE-2015-1078", "CVE-2015-1077",
"CVE-2015-1076", "CVE-2015-1075", "CVE-2015-1074", "CVE-2015-1073",
"CVE-2015-1072", "CVE-2015-1071", "CVE-2015-1070", "CVE-2015-1069",
"CVE-2015-1068");
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:"$Date: 2019-03-19 12:49:19 +0100 (Tue, 19 Mar 2019) $");
script_tag(name:"creation_date", value:"2015-03-27 19:04:44 +0530 (Fri, 27 Mar 2015)");
script_name("Apple Safari 'Webkit' Multiple Vulnerabilities -01 Mar15 (Mac OS X)");
script_tag(name:"summary", value:"This host is running Apple Safari 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 errors exist due to a flaw in
webkit that is triggered as user-supplied input is not properly validated.");
script_tag(name:"impact", value:"Successful exploitation will allow
attackers to conduct denial of service attack and potentially execute
arbitrary code.");
script_tag(name:"affected", value:"Apple Safari versions before 6.2.4, 7.x
before 7.1.4 and 8.x before 8.0.4");
script_tag(name:"solution", value:"Upgrade to Apple Safari version 6.2.4 or
7.1.4 or 8.0.4.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version");
script_xref(name:"URL", value:"http://support.apple.com/en-us/HT204560");
script_xref(name:"URL", value:"http://lists.apple.com/archives/security-announce/2015/Mar/msg00004.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2015 Greenbone Networks GmbH");
script_family("General");
script_dependencies("macosx_safari_detect.nasl");
script_mandatory_keys("AppleSafari/MacOSX/Version");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if(!safVer = get_app_version(cpe:CPE)){
exit(0);
}
if(version_is_less(version:safVer, test_version:"6.2.4"))
{
fix = "6.2.4";
VULN = TRUE;
}
if(version_in_range(version:safVer, test_version:"7.0", test_version2:"7.1.3"))
{
fix = "7.1.4";
VULN = TRUE;
}
if(version_in_range(version:safVer, test_version:"8.0", test_version2:"8.0.3"))
{
fix = "8.0.4";
VULN = TRUE;
}
if(VULN)
{
report = 'Installed version: ' + safVer + '\n' +
'Fixed version: ' + fix + '\n';
security_message(data:report);
exit(0);
}