This host is missing an important security
update according to Microsoft Bulletin MS17-014
###############################################################################
# OpenVAS Vulnerability Test
#
# Microsoft Office Multiple Remote Code Execution Vulnerabilities-4013241 (Mac OS X)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (C) 2017 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:microsoft:office";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.810715");
script_version("2019-12-20T10:24:46+0000");
script_cve_id("CVE-2017-0030", "CVE-2017-0031", "CVE-2017-0105", "CVE-2017-0027",
"CVE-2017-0020", "CVE-2017-0029");
script_bugtraq_id(96051, 96052, 96746, 96043, 96050, 96045);
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:"2019-12-20 10:24:46 +0000 (Fri, 20 Dec 2019)");
script_tag(name:"creation_date", value:"2017-03-15 16:01:05 +0530 (Wed, 15 Mar 2017)");
script_tag(name:"qod_type", value:"executable_version");
script_name("Microsoft Office Multiple Remote Code Execution Vulnerabilities-4013241 (Mac OS X)");
script_tag(name:"summary", value:"This host is missing an important security
update according to Microsoft Bulletin MS17-014");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Multiple flaws exists as,
- office software fails to properly handle objects in memory.
- Microsoft Office software reads out of bound memory due to an uninitialized
variable.
- Microsoft Office improperly discloses the contents of its memory.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to gain access to potentially sensitive information, conduct a denial
of service attack, and run arbitrary code in the context of the current user.");
script_tag(name:"affected", value:"- Microsoft Office 2011 on Mac OS X
- Microsoft Office 2016 on Mac OS X");
script_tag(name:"solution", value:"Apply the patch from the referenced advisory.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"https://support.microsoft.com/en-us/help/3198809");
script_xref(name:"URL", value:"https://go.microsoft.com/fwlink/p/?linkid=831049");
script_xref(name:"URL", value:"https://technet.microsoft.com/library/security/MS17-014");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
script_family("Mac OS X Local Security Checks");
script_dependencies("gb_microsoft_office_detect_macosx.nasl");
script_mandatory_keys("MS/Office/MacOSX/Ver");
exit(0);
}
include("version_func.inc");
if(!offVer = get_kb_item("MS/Office/MacOSX/Ver")){
exit(0);
}
if(offVer !~ "^1[45]\."){
exit(0);
}
if(offVer =~ "^14\." && version_is_less(version:offVer, test_version:"14.7.2"))
{
report = 'File version: ' + offVer + '\n' +
'Vulnerable range: 14.1.0 - 14.7.1 ' + '\n' ;
security_message(data:report);
}
if(offVer =~ "^15\." && version_is_less(version:offVer, test_version:"15.32.0"))
{
report = 'File version: ' + offVer + '\n' +
'Vulnerable range: 15.0 - 15.31.0 ' + '\n' ;
security_message(data:report);
exit(0);
}
exit(0);