Microsoft Office Word Remote Code Execution Vulnerability (2780642)
🗓️ 12 Dec 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType
openvas🔗 plugins.openvas.org👁 28 Views
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| CVE-2012-2539 | 12 Dec 201200:00 | – | attackerkb | |
| CVE-2012-2539 | 30 May 201407:06 | – | circl | |
| Microsoft Word Remote Code Execution Vulnerability | 28 Mar 202200:00 | – | cisa_kev | |
| Microsoft Word RTF listoverridecount Remote Code Execution (MS12-079; CVE-2012-2539; CVE-2014-1761) | 11 Dec 201200:00 | – | checkpoint_advisories | |
| CVE-2012-2539 | 12 Dec 201200:00 | – | cve | |
| CVE-2012-2539 | 12 Dec 201200:00 | – | cvelist | |
| MS12-079: Vulnerability in Microsoft Word could allow remote code execution: December 11, 2012 | 11 Dec 201200:00 | – | mskb | |
| CVE-2012-2539 | 12 Dec 201200:55 | – | nvd | |
| Remote code execution | 12 Dec 201200:55 | – | prion | |
| PT-2012-4089 · Microsoft · Word Viewer +3 | 11 Dec 201200:00 | – | ptsecurity |
10
# SPDX-FileCopyrightText: 2012 Greenbone AG
# 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-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.902937");
script_version("2026-04-28T06:28:06+0000");
script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
script_cve_id("CVE-2012-2539");
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:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
script_tag(name:"creation_date", value:"2012-12-12 10:23:39 +0530 (Wed, 12 Dec 2012)");
script_name("Microsoft Office Word Remote Code Execution Vulnerability (2780642)");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2760497");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/56834");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2760498");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2760421");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2760416");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2760410");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2760405");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2687412");
script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-079");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Windows : Microsoft Bulletins");
script_dependencies("secpod_office_products_version_900032.nasl", "secpod_ms_office_detection_900025.nasl",
"gb_ms_office_web_apps_detect.nasl", "gb_microsoft_sharepoint_smb_login_detect.nasl",
"gb_smb_windows_detect.nasl");
script_mandatory_keys("MS/Office/Prdts/Installed", "microsoft/sharepoint/server_or_foundation_or_services/smb-login/detected");
script_require_ports(139, 445);
script_tag(name:"impact", value:"Successful exploitation could allow attackers to execute arbitrary code by
tricking a user into opening a specially crafted word and RTF files.");
script_tag(name:"affected", value:"- Microsoft Word Viewer
- Microsoft Office 2003 Service Pack 3
- Microsoft Office 2007 Service Pack 2
- Microsoft Office 2007 Service Pack 3
- Microsoft Office 2010 Service Pack 1
- Microsoft Office Web Apps 2010 Service Pack 1
- Microsoft SharePoint Server 2010 Service Pack 1
- Microsoft Office Compatibility Pack Service Pack 2
- Microsoft Office Compatibility Pack Service Pack 3");
script_tag(name:"insight", value:"The flaw is due to an error when parsing Rich Text Format (RTF) data related
to the listoverridecount and can be exploited to corrupt memory.");
script_tag(name:"solution", value:"The vendor has released updates. Please see the references for more information.");
script_tag(name:"summary", value:"This host is missing a critical security update according to
Microsoft Bulletin MS12-079.");
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("smb_nt.inc");
include("secpod_reg.inc");
include("host_details.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
# Microsoft Office Word 2003/2007/2010
winwordVer = get_kb_item("SMB/Office/Word/Version");
if(winwordVer)
{
if(version_in_range(version:winwordVer, test_version:"11.0", test_version2:"11.0.8349") ||
version_in_range(version:winwordVer, test_version:"12.0", test_version2:"12.0.6668.4999") ||
version_in_range(version:winwordVer, test_version:"14.0", test_version2:"14.0.6129.4999"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
wordcnvVer = get_kb_item("SMB/Office/WordCnv/Version");
if(wordcnvVer)
{
# Office Word Converter
path = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion",
item:"ProgramFilesDir");
if(path)
{
path = "\Microsoft Office\Office12";
sysVer = fetch_file_version(sysPath:path, file_name:"Wordcnv.dll");
if(sysVer)
{
if(version_in_range(version:sysVer, test_version:"12.0", test_version2:"12.0.6668.4999"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
wordviewVer = get_kb_item("SMB/Office/WordView/Version");
if(wordviewVer)
{
if(version_in_range(version:wordviewVer, test_version:"11.0", test_version2:"11.0.8349"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
cpe_list = make_list("cpe:/a:microsoft:sharepoint_server", "cpe:/a:microsoft:office_web_apps");
if(!infos = get_app_version_and_location_from_list(cpe_list:cpe_list, exit_no_version:TRUE))
exit(0);
vers = infos["version"];
path = infos["location"];
cpe = infos["cpe"];
## SharePoint Server 2010
if("cpe:/a:microsoft:sharepoint_server" >< cpe)
{
## SharePoint Server 2010 (wosrv)
if(vers =~ "^14\..*")
{
key = "SOFTWARE\Microsoft\Office Server\14.0";
file = "Msoserver.Dll"; # File is not mentioned in bulletin. Based on the after applying patch it is taken.
}
if(key && registry_key_exists(key:key) && file)
{
if(path = registry_get_sz(key:key, item:"InstallPath"))
{
path = path + "\WebServices\WordServer\Core";
dllVer = fetch_file_version(sysPath:path, file_name:file);
if(dllVer)
{
if(version_in_range(version:dllVer, test_version:"14.0", test_version2:"14.0.6129.4999"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
}
## Microsoft Office Web Apps 2010 sp1
if("cpe:/a:microsoft:office_web_apps" >< cpe)
{
## Microsoft Office Web Apps 2010 sp1
if(vers =~ "^14\..*")
{
path = get_kb_item("MS/Office/Web/Apps/Path");
if(path && "Could not find the install" >!< path )
{
# File is not mentioned in bulletin. Based on the after applying patch it is taken.
path = path + "\14.0\WebServices\ConversionService\Bin\Converter";
dllVer = fetch_file_version(sysPath:path, file_name:"msoserver.dll");
if(dllVer)
{
if(version_in_range(version:dllVer, test_version:"14.0", test_version2:"14.0.6129.4999"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Apr 2026 00:00Current
5Medium risk
Vulners AI Score5
CVSS 29.3
CVSS 3.17.8
EPSS0.53159
SSVC