Microsoft XML Core Services Remote Code Execution Vulnerability (936227)
🗓️ 14 Jan 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType
openvas🔗 plugins.openvas.org👁 46 Views
| Reporter | Title | Published | Views | Family All 17 |
|---|---|---|---|---|
| Microsoft XML Core Services Memory Corruption (MS07-042; CVE-2007-2223) | 6 Dec 200900:00 | – | checkpoint_advisories | |
| CVE-2007-2223 | 14 Aug 200721:00 | – | cve | |
| CVE-2007-2223 | 14 Aug 200721:00 | – | cvelist | |
| Microsoft XML Core Services 6.0 - SubstringData Integer Overflow | 14 Aug 200700:00 | – | exploitdb | |
| MS07-042: Vulnerability in Microsoft XML Core Services could allow remote code execution | 17 Apr 201820:27 | – | mskb | |
| CVE-2007-2223 | 14 Aug 200721:17 | – | nvd | |
| Microsoft XML Core Services Remote Code Execution Vulnerability (936227) | 14 Jan 201100:00 | – | openvas | |
| Integer overflow | 14 Aug 200721:17 | – | prion | |
| Microsoft Security Bulletin MS07-042 - Critical Vulnerability in Microsoft XML Core Services Could Allow Remote Code Execution (936227) | 14 Aug 200700:00 | – | securityvulns | |
| [Full-disclosure] ZDI-07-048: Microsoft Internet Explorer substringData() Heap Overflow Vulnerability | 15 Aug 200700:00 | – | securityvulns |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/25301 |
| docs | www.docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-042 |
| securitytracker | www.securitytracker.com/alerts/2007/Aug/1018559.html |
# SPDX-FileCopyrightText: 2011 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.801715");
script_version("2026-04-28T06:28:06+0000");
script_tag(name:"last_modification", value:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
script_tag(name:"creation_date", value:"2011-01-14 09:03:25 +0100 (Fri, 14 Jan 2011)");
script_cve_id("CVE-2007-2223");
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 XML Core Services Remote Code Execution Vulnerability (936227)");
script_xref(name:"URL", value:"http://securitytracker.com/alerts/2007/Aug/1018559.html");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/25301");
script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-042");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2011 Greenbone AG");
script_family("Windows : Microsoft Bulletins");
script_dependencies("smb_reg_service_pack.nasl");
script_require_ports(139, 445);
script_mandatory_keys("SMB/WindowsVersion");
script_tag(name:"impact", value:"Successful exploitation will allow the attacker to execute arbitrary code in
the context of the user running the application.");
script_tag(name:"affected", value:"- Microsoft XML Core Services 3.0/4.0/5.0/6.0
- Microsoft Windows 2K Service Pack 4 and prior
- Microsoft Windows XP Service Pack 3 and prior
- Microsoft Windows 2003 Service Pack 2 and prior
- Microsoft Windows Vista
- Microsoft Office 2003 Service Pack 2
- Microsoft Office 2007
- Microsoft Office Compatibility Pack for Word/Excel/PowerPoint 2007 File Formats");
script_tag(name:"insight", value:"The flaw is due to an integer overflow error in the 'substringData()'
method of an XMLDOM/TextNode JavaScript object.");
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 MS07-042.");
exit(0);
}
include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
function FileVer (file, path)
{
share = ereg_replace(pattern:"([A-Za-z]):.*", replace:"\1$", string:path);
if(share =~ "[a-z]\$")
share = toupper(share);
file = ereg_replace(pattern:"[A-Za-z]:(.*)", replace:"\1", string:path + file);
ver = GetVer(file:file, share:share);
return ver;
}
officeVer = get_kb_item("MS/Office/Ver");
## Office 2003
if(officeVer && officeVer =~ "^11\.")
{
offPath = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion",
item:"CommonFilesDir");
if(offPath)
{
offPath += "\Microsoft Shared\OFFICE11";
dllVer = FileVer(file:"\msxml5.dll", path:offPath);
if(dllVer)
{
if(version_is_less(version:dllVer, test_version:"5.20.1081.0"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
## Office 2007
if(officeVer && officeVer =~ "^12\.")
{
offPath = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion", item:"CommonFilesDir");
if(offPath)
{
offPath += "\Microsoft Shared\OFFICE12";
dllVer = FileVer(file:"\msxml5.dll", path:offPath);
if(dllVer)
{
if(version_is_less(version:dllVer, test_version:"5.20.1081.0"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
if(hotfix_check_sp(xp:4, win2k:5, win2003:3, winVista:3, win2008:3) <= 0){
exit(0);
}
sysPath = registry_get_sz(key:"SOFTWARE\Microsoft\COM3\Setup", item:"Install Path");
if(sysPath)
{
dllVer = fetch_file_version(sysPath:sysPath, file_name:"Msxml3.dll");
dllVer2 = fetch_file_version(sysPath:sysPath, file_name:"Msxml4.dll");
dllVer3 = fetch_file_version(sysPath:sysPath, file_name:"Msxml6.dll");
if(dllVer || dllVer2 || dllVer3)
{
## Avoid passing FALSE values to the version_* functions later if fetch_file_version() returns FALSE
if( ! dllVer ) dllVer = "unknown";
if( ! dllVer2 ) dllVer2 = "unknown";
if( ! dllVer3 ) dllVer3 = "unknown";
if(hotfix_check_sp(win2k:5, xp:4, win2003:3) > 0)
{
if(version_in_range(version:dllVer, test_version:"8.0", test_version2:"8.90.1100.0")||
version_in_range(version:dllVer2, test_version:"4.0", test_version2:"4.20.9847.0") ||
version_in_range(version:dllVer3, test_version:"6.0", test_version2:"6.10.1199.0")){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}
}
}
}
sysPath = registry_get_sz(key:"SOFTWARE\Microsoft\Windows NT\CurrentVersion", item:"PathName");
if(!sysPath){
exit(0);
}
dllVer = fetch_file_version(sysPath:sysPath, file_name:"system32\Msxml3.dll");
dllVer2 = fetch_file_version(sysPath:sysPath, file_name:"system32\Msxml4.dll");
dllVer3 = fetch_file_version(sysPath:sysPath, file_name:"system32\Msxml6.dll");
if(dllVer || dllVer2 || dllVer3)
{
## Avoid passing FALSE values to the version_* functions later if fetch_file_version() returns FALSE
if( ! dllVer ) dllVer = "unknown";
if( ! dllVer2 ) dllVer2 = "unknown";
if( ! dllVer3 ) dllVer3 = "unknown";
if(hotfix_check_sp(winVista:3) > 0)
{
if(version_in_range(version:dllVer, test_version:"8.0", test_version2:"8.90.1100.0") ||
version_in_range(version:dllVer2, test_version:"4.0", test_version2:"4.20.9847.0") ||
version_in_range(version:dllVer3, test_version:"6.0", test_version2:"6.10.1199.0")){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}
}
if(hotfix_check_sp(win2008:3) > 0)
{
if(version_in_range(version:dllVer2, test_version:"4.0", test_version2:"4.20.9847.0")){
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.48722