This host is missing an important security update according to
Microsoft Bulletin MS13-051.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ms13-051_macosx.nasl 4570 2016-11-18 10:17:05Z antu123 $
#
# Microsoft Office Remote Code Execution Vulnerability-2839571 (Mac OS X)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2013 SecPod, http://www.secpod.com
#
# 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.
###############################################################################
tag_impact = "Successful exploitation could allow attackers to execute arbitrary code as
the logged-on user.
Impact Level: System/Application";
tag_affected = "Microsoft Office 2011 on Mac OS X";
tag_insight = "The flaw is due to an error when processing PNG files and can be exploited
to cause a buffer overflow via a specially crafted file.";
tag_solution = "Apply the patch from below link,
http://technet.microsoft.com/en-us/security/bulletin/ms13-026";
tag_summary = "This host is missing an important security update according to
Microsoft Bulletin MS13-051.";
if(description)
{
script_id(902977);
script_version("$Revision: 4570 $");
script_cve_id("CVE-2013-1331");
script_bugtraq_id(60408);
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: 2016-11-18 11:17:05 +0100 (Fri, 18 Nov 2016) $");
script_tag(name:"creation_date", value:"2013-06-12 09:30:35 +0530 (Wed, 12 Jun 2013)");
script_name("Microsoft Office Remote Code Execution Vulnerability-2839571 (Mac OS X)");
script_xref(name : "URL" , value : "http://secunia.com/advisories/53747");
script_xref(name : "URL" , value : "http://www.securitytracker.com/id/1028650");
script_xref(name : "URL" , value : "https://technet.microsoft.com/en-us/security/bulletin/ms13-051");
script_copyright("Copyright (C) 2013 SecPod");
script_category(ACT_GATHER_INFO);
script_family("Mac OS X Local Security Checks");
script_dependencies("gb_microsoft_office_detect_macosx.nasl");
script_mandatory_keys("MS/Office/MacOSX/Ver");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
## Variable Initialization
offVer = "";
## Get the version from KB
offVer = get_kb_item("MS/Office/MacOSX/Ver");
## check the version from KB
if(!offVer || !(offVer =~ "^(14)")){
exit(0);
}
## Check for Office Version < 2011 (14.3.5)
if(version_in_range(version:offVer, test_version:"14.0", test_version2:"14.3.4"))
{
security_message(0);
exit(0);
}