OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[Full-Disclosure] Internet Explorer valid JavaScript-file successfull load detection local file enumeration

From: Berend-Jan Wever (skylinededup.tudelft.nl)
Date: Fri Jan 14 2005 - 03:33:43 CST


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

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html