Microsoft Internet Explorer级联样式表文件泄露漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1106660 漏洞类型 设计错误
发布时间 2002-04-02 更新时间 2005-10-12
CVE编号 CVE-2002-0191 CNNVD-ID CNNVD-200205-080
漏洞平台 Windows CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/21361
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200205-080
|漏洞详情
MicrosoftInternetExplorer5.01,5.5和6.0版本存在漏洞。远程攻击者借助包含stylesheet对象cssText属性的脚本浏览含有“{”字符的任意文件,也称为“LocalInformationDisclosurethroughHTMLObject”漏洞。
|漏洞EXP
source: http://www.securityfocus.com/bid/4411/info

The Cascading Style-Sheets (CSS) interpreter for Microsoft Internet Explorer is prone to an issue which may allow an attacker to read the contents of files on a web user's system.

It is possible to use the cssText property of the styleSheet to read portions of files that exist on an arbitrary web user's system. Successful exploitation will cause the CSS interpreter used by Internet Explorer to read portions of text if the targetted file contains a "{" character.

An attacker may exploit this via a malicious webpage to disclose sensitive information contained in (almost) arbitrary files that exist on a web user's system.

Microsoft Security Bulletin MS02-023 includes patches for this vulnerability. There have been reports that the Microsoft patches do not completely address this issue. A HTTP redirect may be used in a malicious webpage to exploit this vulnerability on some patched systems. 

This example attempts to read content from "c:/test.txt":

<link id="oFile" rel="stylesheet" href="file://c:/test.txt" disabled>
<script language="jscript">
onload=function () {
alert(document.styleSheets.oFile.cssText || "Could not extract any text
from file.");
}
</script>
|参考资料

来源:MS
名称:MS02-023
链接:http://www.microsoft.com/technet/security/bulletin/ms02-023.asp
来源:XF
名称:ie-css-read-files(8740)
链接:http://www.iss.net/security_center/static/8740.php
来源:BID
名称:4411
链接:http://www.securityfocus.com/bid/4411
来源:BUGTRAQ
名称:20020402ReadingportionsoflocalfilesinIE,dependingonstructure(GM#004-IE)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=101778302030981&w=2