Microsoft Office Excel Axis and Art Object Parsing Remote Code Execution Vulnerabilities

2011-02-23T00:00:00
ID OPENVAS:801595
Type openvas
Reporter Copyright (C) 2011 Greenbone Networks GmbH
Modified 2017-07-05T00:00:00

Description

This host is installed with Microsoft Office Excel and is prone to multiple remote code execution vulnerabilities.

This NVT has been replaced by NVT secpod_ms11-021.nasl (OID:1.3.6.1.4.1.25623.1.0.902410).

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_office_excel_mult_code_exec_vuln.nasl 6538 2017-07-05 11:38:27Z cfischer $
#
# Microsoft Office Excel Axis and Art Object Parsing Remote Code Execution Vulnerabilities
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# Copyright:
# Copyright (c) 2011 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.
###############################################################################

tag_impact = "Successful exploitation will allow attacker to execute arbitrary
code, can cause memory corruption and other attacks in the context of the
application through crafted Excel file.

Impact Level: System";

tag_affected = "Microsoft Office Excel 2010";

tag_insight = "The flaws are due to:
- An error in the usage of a specific field used for incrementing an array
index. The application will copy the contents of the specified element into
a statically sized buffer on the stack.
- An error in parsing Office Art record, when parsing an office art object
record, if an error occurs, the application will add a stray reference to an
element which is part of a linked list. When receiving a window message,
the application will proceed to navigate this linked list. This will
access a method from the malformed object which can lead to code execution
under the context of the application.";

tag_solution = "No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective
features, remove the product or replace the product by another one.";

tag_summary = "This host is installed with Microsoft Office Excel and is prone to
multiple remote code execution vulnerabilities.

This NVT has been replaced by NVT secpod_ms11-021.nasl
(OID:1.3.6.1.4.1.25623.1.0.902410).";

if(description)
{
  script_id(801595);
  script_version("$Revision: 6538 $");
  script_tag(name:"deprecated", value:TRUE);
  script_tag(name:"last_modification", value:"$Date: 2017-07-05 13:38:27 +0200 (Wed, 05 Jul 2017) $");
  script_tag(name:"creation_date", value:"2011-02-23 12:24:37 +0100 (Wed, 23 Feb 2011)");
  script_cve_id("CVE-2011-0978", "CVE-2011-0979");
  script_bugtraq_id(46225);
  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_name("Microsoft Office Excel Axis and Art Object Parsing Remote Code Execution Vulnerabilities");
  script_xref(name : "URL" , value : "http://seclists.org/bugtraq/2011/Feb/86");
  script_xref(name : "URL" , value : "http://www.zerodayinitiative.com/advisories/ZDI-11-042/");
  script_xref(name : "URL" , value : "http://www.zerodayinitiative.com/advisories/ZDI-11-041/");
  script_xref(name : "URL" , value : "http://permalink.gmane.org/gmane.comp.security.full-disclosure/77802");

  script_tag(name:"qod_type", value:"registry");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Windows");
  script_dependencies("secpod_office_products_version_900032.nasl", "secpod_ms_office_detection_900025.nasl");
  script_mandatory_keys("MS/Office/Ver", "SMB/Office/Excel/Version");

  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:"solution_type", value:"WillNotFix");
  exit(0);
}

exit(66); ## This NVT is deprecated as addressed in secpod_ms11-021.nasl.

## check for microsoft office installation
if(!get_kb_item("MS/Office/Ver") =~ "^14\.*"){
  exit(0);
}

## Get the ms office Excel version
excelVer = get_kb_item("SMB/Office/Excel/Version");

## Check for the MS office power point 2007
if(excelVer &&  excelVer =~ "^14\.*"){
  security_message(0);
}