Microsoft Office Multiple Remote Code Execution Vulnerabilities-4013241 (Mac OS X)

2017-03-15T00:00:00
ID OPENVAS:1361412562310810715
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2017-04-13T00:00:00

Description

This host is missing an important security update according to Microsoft Bulletin MS17-014

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_office_ms17-014_macosx.nasl 5955 2017-04-13 18:33:58Z veerendragg $
#
# Microsoft Office Multiple Remote Code Execution Vulnerabilities-4013241 (Mac OS X)
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# 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("$Revision: 5955 $");
  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:"$Date: 2017-04-13 20:33:58 +0200 (Thu, 13 Apr 2017) $");
  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:"Get the vulnerable file version and check
  appropriate patch is applied or not.");

  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.

  Impact Level: System/Application");

  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 below link,
  https://technet.microsoft.com/library/security/MS17-014");

  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");

## Variable Initialization
offVer = "";

## Get the version from KB
if(!offVer = get_kb_item("MS/Office/MacOSX/Ver")){
  exit(0);
}

## check the version
if(!(offVer =~ "^(14\.)") && !(offVer =~ "^(15\.)")){
  exit(0);
}

## Check for Office Version (14.7.2)
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);
}

## Check for Office Version (15.32.0)
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);