Microsoft XML Core Services SubstringData堆溢出漏洞(MS07-042)

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1113467 漏洞类型 缓冲区错误
发布时间 2007-08-14 更新时间 2008-06-24
CVE编号 CVE-2007-2223 CNNVD-ID CNNVD-200708-236
漏洞平台 Windows CVSS评分 9.3
|漏洞来源
https://www.exploit-db.com/exploits/30493
https://www.securityfocus.com/bid/25301
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200708-236
|漏洞详情
Microsoft Windows是美国微软(Microsoft)公司发布的一系列操作系统。 XML Core Services(也被称为MSXML)是Windows操作系统中所安装的用于处理XML文件的函数库。在使用该函数库时没有对XMLDOM对象substringData()方式的长度参数执行正确的检查,如果提供了超长的长度值的话,就可能将数据拷贝到不充分的缓冲区,触发堆溢出,导致执行任意指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/25301/info

Microsoft XML Core Services is prone to an integer-overflow vulnerability because the application fails to ensure that integer values are not overrun.

Attackers can exploit this issue by enticing unsuspecting users to view malicious web content. Specially crafted scripts could issue requests to MSXML that trigger memory corruption.

Successfully exploiting this issue allows remote attackers to corrupt heap memory and execute arbitrary code in the context of the affected application. Failed exploit attempts will result in a denial-of-service condition. 

//var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
//xmlDoc.loadXML("<dummy></dummy>");
//var txt = xmlDoc.createTextNode("huh");
//var out = txt.substringData(1,0x7fffffff);
|受影响的产品
Microsoft XML Core Services 6.0 Microsoft XML Core Services 5.0 SP1 Microsoft XML Core Services 5.0 Microsoft XML Core Services 4.0 Microsoft XML Core Services 3.0 SP7 Mi
|参考资料

来源:US-CERT
名称:VU#361968
链接:http://www.kb.cert.org/vuls/id/361968
来源:MS
名称:MS07-042
链接:http://www.microsoft.com/technet/security/bulletin/ms07-042.mspx
来源:MISC
链接:http://www.zerodayinitiative.com/advisories/ZDI-07-048/
来源:SECTRACK
名称:1018559
链接:http://www.securitytracker.com/id?1018559
来源:BID
名称:25301
链接:http://www.securityfocus.com/bid/25301
来源:BUGTRAQ
名称:20070816MS07-042XMLDOMsubstringData()PoC
链接:http://www.securityfocus.com/archive/1/archive/1/476747/100/0/threaded
来源:BUGTRAQ
名称:20070814ZDI-07-048:MicrosoftInternetExplorersubstringData()HeapOverflowVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/476527/100/0/threaded
来源:VUPEN
名称:ADV-2007-2866
链接:http://www.frsirt.com/english/advisories/2007/2866
来源:SECUNIA
名称:26447
链接:http://secunia.com/advisories/26447
来源:IDEFENSE
名称:20070814MicrosoftXMLCoreServicesXMLDOMMemoryCorruptionVulnerability
链接:http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=576
来源:USGovernmentResource:oval:org.mitre.oval:def:2069
名称