Vulnerabilities > CVE-2007-2223 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Microsoft XML Core Services
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Microsoft XML Core Services (MSXML) 3.0 through 6.0 allows remote attackers to execute arbitrary code via the substringData method on a (1) TextNode or (2) XMLDOM object, which causes an integer overflow that leads to a buffer overflow.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description | Microsoft XML Core Services 6.0 SubstringData Integer Overflow Vulnerability. CVE-2007-2223. Remote exploit for windows platform |
id | EDB-ID:30493 |
last seen | 2016-02-03 |
modified | 2007-08-14 |
published | 2007-08-14 |
reporter | anonymous |
source | https://www.exploit-db.com/download/30493/ |
title | Microsoft XML Core Services <= 6.0 SubstringData Integer Overflow Vulnerability |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS07-042.NASL |
description | The remote host is running a version of Windows that contains a flaw in the Windows XML Core Services. An attacker may be able to execute arbitrary code on the remote host by constructing a malicious script and enticing a victim to visit a website or view a specially crafted email message. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 25880 |
published | 2007-08-14 |
reporter | This script is Copyright (C) 2007-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/25880 |
title | MS07-042: Vulnerability in Microsoft XML Core Services Could Allow Remote Code Execution (936227) |
code |
|
Oval
accepted | 2014-03-17T04:00:15.862-04:00 | ||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||
description | Microsoft XML Core Services (MSXML) 3.0 through 6.0 allows remote attackers to execute arbitrary code via the substringData method on a (1) TextNode or (2) XMLDOM object, which causes an integer overflow that leads to a buffer overflow. | ||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:2069 | ||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||
submitted | 2007-08-15T09:28:35 | ||||||||||||||||||||||||||||||||
title | Vulnerability in Microsoft XML Core Services Could Allow Remote Code Execution | ||||||||||||||||||||||||||||||||
version | 74 |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 25301 CVE(CAN) ID: CVE-2007-2223 Microsoft Windows是微软发布的非常流行的操作系统。 Windows XML Core程序库在处理畸形畸形的调用时存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞控制用户系统。 XML Core Services(也被称为MSXML)是Windows操作系统中所安装的用于处理XML文件的函数库。在使用该函数库时没有对XMLDOM对象substringData()方式的长度参数执行正确的检查,如果提供了超长的长度值的话,就可能将数据拷贝到不充分的缓冲区,触发堆溢出,导致执行任意指令。 Microsoft Office SharePoint Server Microsoft Office Groove Server 2007 Microsoft Office 2007 Microsoft Office 2003 Service Pack 2 Microsoft Windows XP SP2 Microsoft Windows Vista Microsoft Windows Server 2003 SP2 Microsoft Windows Server 2003 SP1 Microsoft Windows 2000SP4 临时解决方法: * 将Internet Explorer配置为在Internet和本地Intranet安全区域中运行活动脚本之前进行提示 * 将Internet 和本地Intranet安全区域设置设为“高”,以便在这些区域中运行ActiveX控件和活动脚本之前进行提示 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS07-042)以及相应补丁: MS07-042:Vulnerability in Microsoft XML Core Services Could Allow Remote Code Execution (936227) 链接:<a href="http://www.microsoft.com/technet/security/Bulletin/MS07-042.mspx?pf=true" target="_blank">http://www.microsoft.com/technet/security/Bulletin/MS07-042.mspx?pf=true</a> |
id | SSV:2121 |
last seen | 2017-11-19 |
modified | 2007-08-17 |
published | 2007-08-17 |
reporter | Root |
title | Microsoft XML Core Services SubstringData堆溢出漏洞(MS07-042) |
References
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=576
- http://secunia.com/advisories/26447
- http://www.kb.cert.org/vuls/id/361968
- http://www.securityfocus.com/archive/1/476527/100/0/threaded
- http://www.securityfocus.com/archive/1/476747/100/0/threaded
- http://www.securityfocus.com/bid/25301
- http://www.securitytracker.com/id?1018559
- http://www.vupen.com/english/advisories/2007/2866
- http://www.zerodayinitiative.com/advisories/ZDI-07-048/
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-042
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2069