Microsoft Office Remote Code Execution Vulnerability (2731879)
🗓️ 15 Aug 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType
openvas🔗 plugins.openvas.org👁 28 Views
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| Microsoft Graphics Filters CGM Image Converter Buffer Overrun (MS10-105; CVE-2010-3945; CVE-2012-2524) | 14 Dec 201000:00 | – | checkpoint_advisories | |
| Preemptive protection against Microsoft CGM File Format Memory Corruption (MS12-057; CVE-2012-2524) | 27 Aug 201200:00 | – | checkpoint_advisories | |
| CVE-2012-2524 | 15 Aug 201201:00 | – | cve | |
| CVE-2012-2524 | 15 Aug 201201:00 | – | cvelist | |
| MS12-057: Vulnerabilities in Microsoft Office could allow for remote code execution: August 14, 2012 | 14 Aug 201200:00 | – | mskb | |
| CVE-2012-2524 | 15 Aug 201201:55 | – | nvd | |
| Microsoft Office Remote Code Execution Vulnerability (2731879) | 15 Aug 201200:00 | – | openvas | |
| Memory corruption | 15 Aug 201201:55 | – | prion | |
| MS12-057: Vulnerabilities in Microsoft Office Could Allow Remote Code Execution (2731879) | 15 Aug 201200:00 | – | nessus | |
| Microsoft Office Memory Corruption CVE-2012-2524 Remote Code Execution Vulnerability | 14 Aug 201200:00 | – | symantec |
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.902920");
script_version("2026-04-28T06:28:06+0000");
script_cve_id("CVE-2012-2524");
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-08-15 09:05:20 +0530 (Wed, 15 Aug 2012)");
script_name("Microsoft Office Remote Code Execution Vulnerability (2731879)");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2596615");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/54876");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2596754");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2553260");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2589322");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2687501");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2687510");
script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-057");
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");
script_require_ports(139, 445);
script_mandatory_keys("MS/Office/Ver");
script_tag(name:"impact", value:"Successful exploitation could allow attackers to execute arbitrary code as
the logged-on user.");
script_tag(name:"affected", value:"- Microsoft Office 2007 Service Pack 3 and prior
- Microsoft Office 2010 Service Pack 1 and prior");
script_tag(name:"insight", value:"The flaw is due to an error when parsing CGM (Computer Graphics Metafile)
files and can be exploited to corrupt memory via a specially crafted CGM file
or Office document embedding CGM graphics content.");
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 an important security update according to
Microsoft Bulletin MS12-057.");
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("version_func.inc");
include("secpod_smb_func.inc");
officeVer = get_kb_item("MS/Office/Ver");
# nb: MS Office 2007, 2010
if(!officeVer || officeVer !~ "^1[24]\."){
exit(0);
}
path = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion", item:"CommonFilesDir");
if(!path){
exit(0);
}
foreach ver (make_list("OFFICE12", "OFFICE14"))
{
offPath = path + "\Microsoft Shared\" + ver;
dllVer = fetch_file_version(sysPath:offPath, file_name:"Mso.dll");
if(dllVer)
{
if(version_in_range(version:dllVer, test_version:"12.0", test_version2:"12.0.6662.4999")||
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);
}
}
}
## Office system (MSCONV97) and Office 2010 (MSCONV)
filePath = path + "\Microsoft Shared\TextConv";
fileVer = fetch_file_version(sysPath:filePath, file_name:"msconv97.dll");
if(fileVer)
{
if(version_in_range(version:fileVer, test_version:"2006.0", test_version2:"2006.1200.6662.4999") ||
version_in_range(version:fileVer, test_version:"2010.0", test_version2:"2010.1400.6123.4999")){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}
}
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
EPSS0.20124