[38206] in bugtraq

home help back first fref pref prev next nref lref last post

Internet Explorer valid JavaScript-file successfull load detection local file enumeration

daemon@ATHENA.MIT.EDU (Berend-Jan Wever)
Fri Jan 14 13:08:32 2005

Message-ID: <002c01c4fa1c$25d87eb0$0100a8c0@grotedoos>
From: "Berend-Jan Wever" <skylined@edup.tudelft.nl>
To: <full-disclosure@lists.netsys.com>, <bugtraq@securityfocus.com>
Date: Fri, 14 Jan 2005 10:33:43 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi all,

Internet Explorer allows webpages on a remote server to load scripts from the local harddisk. These scripts get run in the remote server's security zone. This is not so much cross-site scripting but what I will call "cross-site loading" for now. Cross-site loading is not a new problem, a number of these bugs have been found already, most of which have not been fixed yet, even though the problem is over two years old now. 

Anyway, using this variant I constructed a webpage that will try to load a JavaScript that is present by default on win2k from various locations on your harddisk(s). If it succeeds, one can assume this is the windows installation directory.

Demo and example:
http://www.edup.tudelft.nl/~bjwever/advisory_ie_flaws.html.php
(I also added demos and examples for two other old, known and unfixed cross-site loading problems).

FireFox does not allow any cross-site loading as far as I could tell, all three demo's do not work on it for that matter.

Cheers,

Berend-Jan Wever
SMTP: <skylined@edup.tudelft.nl>
HTTP: http://www.edup.tudelft.nl/~bjwever
MSN: Skylined@edup.tudelft.nl
IRC: SkyLined in #SkyLined on EFNET
PGP: key ID 0x48479882




home help back first fref pref prev next nref lref last post