CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:N/I:N/A:P
AI Score
Confidence
Low
EPSS
Percentile
87.1%
Microsoft Office Excel is prone to an arbitrary code execution vulnerability.
# Copyright (C) 2012 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.902692");
script_version("2022-04-27T12:01:52+0000");
script_cve_id("CVE-2012-5672");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
script_tag(name:"last_modification", value:"2022-04-27 12:01:52 +0000 (Wed, 27 Apr 2022)");
script_tag(name:"creation_date", value:"2012-11-08 14:28:19 +0530 (Thu, 08 Nov 2012)");
script_name("Microsoft Office Excel ReadAV Arbitrary Code Execution Vulnerability");
script_xref(name:"URL", value:"http://seclists.org/bugtraq/2012/Oct/63");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/56309");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/524379");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
script_family("Windows");
script_dependencies("secpod_office_products_version_900032.nasl");
script_mandatory_keys("MS/Office/Prdts/Installed");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to execute arbitrary
code or or cause denial of service condition via a crafted XLS file.");
script_tag(name:"affected", value:"- Microsoft Excel Viewer 2007 Service Pack 3 and prior
- Microsoft Office 2007 Service Pack 2 and Service Pack 3");
script_tag(name:"insight", value:"An error exists in the Microsoft Office Excel Viewer and Excel
when handling crafted '.xls' files.");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the 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.");
script_tag(name:"summary", value:"Microsoft Office Excel is prone to an arbitrary code execution vulnerability.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"WillNotFix");
exit(0);
}
include("smb_nt.inc");
include("version_func.inc");
excelVer = get_kb_item("SMB/Office/Excel/Version");
if(excelVer =~ "^12")
{
if(version_in_range(version:excelVer, test_version:"12.0", test_version2:"12.0.6665.5003"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
# Microsoft Office Excel Viewer 2007
excelviewVer = get_kb_item("SMB/Office/XLView/Version");
if(excelviewVer =~ "^12")
{
if(version_in_range(version:excelviewVer, test_version:"12.0", test_version2:"12.0.6665.5003"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}