On 2014-02-11, Microsoft released bulletin MS14-009 - Important. Vulnerability CVE2014-0257 is among the list of fixes. This relates to an elevation of privileges through use of reflection to execute code normally inaccessible to the caller. Part of the solution involves disabling reflection over COM interfaces. This resulted in a family of patches for all .NET Framework and Windows combinations. You can view the list through the link above.
Microsoft released a follow-up KB2934830 to address problems with running macros through Visual Studio. You will need to edit one or more of the following files as an administrator:
VS2005:
C:Program Files (x86)Common FilesMicrosoft SharedVSA8.0VsaEnvVsmsvr.exe.config
VS2008:
C:Program Files (x86)Common FilesMicrosoft SharedVSA9.0VsaEnvVsmsvr.exe.config
VS2010:
C:Program Files (x86)Common FilesMicrosoft SharedVSA9.0VsaEnvVsmsvr10.exe.config
Add this under the runtime section. runtime should already exist:
<AllowDComReflection enabled="true"/>
This should make macros execute as expected.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…