TUCoPS :: Browsers :: hack7783.htm

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

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:  
HTTP: http://www.edup.tudelft.nl/~bjwever 
MSN: Skylined@edup.tudelft.nl 
IRC: SkyLined in #SkyLined on EFNET
PGP: key ID 0x48479882


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH