Type packetstorm
Reporter Georgi Guninski
Modified 1999-08-17T00:00:00


                                            `Date: Tue, 16 Feb 1999 09:46:05 PST  
From: Georgi Guninski <guninski@HOTMAIL.COM>  
Subject: Netscape Communicator window spoofing bug  
There is a bug in Netscape Communicator 3.04,4.06,4.5 Win95 and 4.08 WinNT,  
which allows "window spoofing". After visiting a hostile page (or clicking   
a hostile link) a window is opened and its location is a trusted site.   
However, the content of the window is not that of the original site,  
but it is supplied by the owner of the page. So, the user is misled he  
is browising a trusted site, while he is browsing a hostile page and may   
provide sensitive information, such as credit card number.   
The bug may be exploited using HTML mail message.  
It needs Javascript enabled.  
Workaround: Disable Javascript  
Demonstration is available at:  
This bug is different from the "frame spoofing vulnerability"  
The code is:  
function doit()  
a.document.write("<H1>Look at the location bar!<BR>");  
a.document.write("<A HREF=''>Go to Georgi Guninski's home page</A></H1>");  
function winopen() {  
//You may try also:  
<A HREF="javascript:void(0)" onclick="winopen()" onMouseOver="window.status='';return true">  
Follow this link to go to (or somewhere else)  
Note: My web page has moved. Look below for the new URLs.  
Georgi Guninski  
Date: Sun, 21 Feb 1999 13:26:20 GMT  
From: Kirrily 'Skud' Robert <skud+usenet@NETIZEN.COM.AU>  
Subject: Re: Netscape Communicator window spoofing bug  
Frames or not, this bug was discussed in some detail in the O'Reilly  
book _Web Security and Commerce_ by Garfinkel and Spafford. Since its  
original publication date is June 1997, I think we can assume that this  
bug has been known for almost two years.  
I heartily recommend this book to anyone interested in browser security  
issues, especially those related to java, javascript, and other such  
client-side programming.  
Kirrily 'Skud' Robert -  
Documentation is the castor oil of programming. Managers know it must  
be good because the programmers hate it so much.