MS10-031: Vulnerability in Microsoft Visual Basic for Applications Could Allow Remote Code Execution (978213)

This security update resolves a privately reported vulnerability in Microsoft Visual Basic for Applications.

Microsoft Security Bulletin MS10-031 - Critical
Vulnerability in Microsoft Visual Basic for Applications Could Allow Remote Code Execution (978213)
Published: May 11, 2010

Version: 1.0

General Information
Executive Summary
This security update resolves a privately reported vulnerability in Microsoft Visual Basic for Applications. The vulnerability could allow remote code execution if a host application opens and passes a specially crafted file to the Visual Basic for Applications runtime. If a user is logged on with administrative user rights, an attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

This security update is rated Critical for all supported versions of Microsoft Visual Basic for Applications SDK and third-party applications that use Microsoft Visual Basic for Applications. This security update is also rated Important for all supported editions of Microsoft Office XP, Microsoft Office 2003, and the 2007 Microsoft Office System. For more information, see the subsection, Affected and Non-Affected Software, in this section.

The update addresses the vulnerability by modifying the way that Visual Basic for Applications searches for ActiveX Controls embedded in documents. For more information about the vulnerability, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information.

Recommendation. Microsoft recommends that customers apply the update immediately.

Known Issues. Microsoft Knowledge Base Article 978213 documents the currently known issues that customers may experience when installing this security update. The article also documents recommended solutions for these issues. When currently known issues and recommended solutions pertain only to specific releases of this software, this article provides links to further articles.

Top of section
Affected and Non-Affected Software
The following software have been tested to determine which versions or editions are affected. Other versions or editions are either past their support life cycle or are not affected. To determine the support life cycle for your software version or edition, visit Microsoft Support Lifecycle.

Affected Software

Office Suite  Maximum Security Impact Aggregate Severity Rating Bulletins Replaced by this Update
Microsoft Office XP Service Pack 3
(KB976380)
Remote Code Execution
Important
MS08-013

Microsoft Office 2003 Service Pack 3
(KB976382)
Remote Code Execution
Important
MS08-013

2007 Microsoft Office System Service Pack 1 and 2007 Microsoft Office System Service Pack 2
(KB976321)
Remote Code Execution
Important
None


Developer Tools

Developer Tools Maximum Security Impact Aggregate Severity Rating Bulletins Replaced by this Update
Microsoft Visual Basic for Applications[1]
(KB974945)
Remote Code Execution
Critical
MS06-047

Microsoft Visual Basic for Applications SDK[2][3]
Remote Code Execution
Critical
MS06-047


[1]This update package applies to supported versions of the Microsoft Visual Basic for Applications runtime (Vbe6.dll) and is available from the Microsoft Download Center only.

[2]The supported versions of the VBA SDK are Microsoft Visual Basic for Applications SDK 6.3, Microsoft Visual Basic for Applications SDK 6.4, and Microsoft Visual Basic for Applications SDK 6.5.

[3]The updated version of the Visual Basic for Applications SDK that addresses the vulnerability described in this bulletin is available for independent software vendors (ISVs) from the Summit Software Company. For more information, see the next section, Frequently Asked Questions (FAQ) Related to This Security Update.

Non-Affected Software

Office and Other Software
Microsoft Office 2010 (32-bit editions) and Microsoft Office 2010 (64-bit editions)

Microsoft Office 2004 for Mac

Microsoft Office 2008 for Mac

Open XML File Format Converter for Mac

Microsoft Office Excel Viewer Service Pack 1 and Microsoft Office Excel Viewer Service Pack 2

Microsoft Office Word Viewer Service Pack 1 and Microsoft Office Word Viewer Service Pack 2

Microsoft Office PowerPoint Viewer 2007 Service Pack 1 and Microsoft Office PowerPoint Viewer 2007 Service Pack 2

Microsoft Office Visio Viewer 2007 Service Pack 1 and Microsoft Office Visio Viewer 2007 Service Pack 2

Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats Service Pack 1 and Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats Service Pack 2


Top of section
Frequently Asked Questions (FAQ) Related to This Security Update

Where are the file information details?
Refer to the reference tables in the Security Update Deployment section for the location of the file information details.

I have applied the required Microsoft security updates, but I still have an affected version of the Visual Basic for Applications runtime (VBE6.DLL) on my system. How do I update this DLL?
There are cases where your system might still have an affected version of VBE6.DLL even after you have installed the required security updates for Microsoft Office and the update for Microsoft Visual Basic for Applications listed in this bulletin.

If VBE6.DLL was installed on your system by a supported version of Microsoft Office, then applying the security update for the affected version of Microsoft Office will replace VBE6.DLL with the updated version that addresses the vulnerability described in this bulletin. However, if VBE6.DLL was installed on your system by a third-party application, you may have to install an update for that program.

To update VBE6.DLL for third-party applications there are two possible scenarios depending on the third-party application's implementation of VBA. If you know that the third-party application is compliant to the recommended best practices for using a shared component as a side-by-side assembly, then applying the Microsoft Visual Basic for Applications (KB974945) update will replace VBE6.DLL in the shared location with the updated version that addresses the vulnerability described in this bulletin.

On the other hand, if the third-party application does not place VBE6.DLL in the shared location as per recommended best practices, then you should contact the third-party application developer and ask them to provide you with an updated version of their application that contains a newer version of the VBE6.DLL that addresses the vulnerability described in this bulletin. Note that not every third-party application that installs VBE6.DLL is vulnerable to the vulnerability described in this bulletin because the application might not use VBE6.DLL to search for ActiveX controls in a way that is exploitable. However, only the developer of that application can make that determination.

This security update only applies to Microsoft software. How can I detect if third-party applications have deployed an affected version of the Visual Basic for Applications runtime (VBE6.DLL) on my system?
Third-party applications that support VBA could deploy VBE6.DLL in a location that is not updated by this security update. For details on how to detect third-party applications on your system that have used VBE6.DLL, see Microsoft Knowledge Base Article 978213. In the case that you do have a third-party application that has shipped with its own copy of VBE6.DLL, to help ensure that your system is fully protected from the vulnerability described in this bulletin, you should contact the developer or vendor responsible for support for the third-party application directly.

I am a third-party application developer and I use Microsoft Visual Basic for Applications runtime in my application. Is my application vulnerable and how do I update it?
Developers who redistribute the Microsoft Visual Basic for Applications runtime VBE6.DLL should ensure that they update the version of the Microsoft Visual Basic for Applications runtime installed with their application by downloading an updated version of the Microsoft Visual Basic for Applications SDK from the Summit Software Company. For more information on best practices on redistributed component use, please see Microsoft Knowledge Base Article 835322 and the MSDN article, Isolated Applications and Side-by-side Assemblies.

I am an ISV. Where is the update for Microsoft Visual Basic for Applications SDK?
The update is available from the Summit Software Company. Summit Software Company is a global supplier of application customization software products and integration support services to independent software vendors (ISVs) and corporate developers. In June 1996, Summit Software entered into an agreement with Microsoft to sell Microsoft Visual Basic for Applications and related value-added technology and services. Summit continues to sell and support Microsoft VBA.

Why is this update Critical for Microsoft Visual Basic for Applications but only Important for Microsoft Office?
Microsoft Office XP and later versions have a built-in feature that prompts a user to Open, Save, or Cancel before opening a document. This mitigating factor reduces the vulnerability from Critical to Important because the vulnerability requires more than a single user action to complete the exploit.

I use Microsoft Office 2007 Service Pack 1. Are any additional security features included in this update?
Yes, as part of the servicing model for Microsoft Office 2007, when users of Microsoft Office 2007 Service Pack 1 install this update, their systems will be upgraded to security functionality that was initially released with Microsoft Office 2007 Service Pack 2. All updates released after April 24, 2009 for Microsoft Office 2007 will include these security features, which were introduced in Microsoft Office 2007 Service Pack 2. We have thoroughly tested this update, but as with all updates, we recommend that users perform testing appropriate to the environment and configuration of their systems.

I am using an older release of the software discussed in this security bulletin. What should I do?
The affected software listed in this bulletin have been tested to determine which releases are affected. Other releases are past their support life cycle. For more information about the product lifecycle, visit the Microsoft Support Lifecycle Web site.

It should be a priority for customers who have older releases of the software to migrate to supported releases to prevent potential exposure to vulnerabilities. To determine the support lifecycle for your software release, see Select a Product for Lifecycle Information. For more information about service packs for these software releases, see Lifecycle Supported Service Packs.

Customers who require custom support for older software must contact their Microsoft account team representative, their Technical Account Manager, or the appropriate Microsoft partner representative for custom support options. Customers without an Alliance, Premier, or Authorized Contract can contact their local Microsoft sales office. For contact information, visit the Microsoft Worldwide Information Web site, select the country in the Contact Information list, and then click Go to see a list of telephone numbers. When you call, ask to speak with the local Premier Support sales manager. For more information, see the Microsoft Support Lifecycle Policy FAQ.

Top of section
Vulnerability Information
Severity Ratings and Vulnerability Identifiers

The following severity ratings assume the potential maximum impact of the vulnerability. For information regarding the likelihood, within 30 days of this security bulletin's release, of the exploitability of the vulnerability in relation to its severity rating and security impact, please see the Exploitability Index in the May bulletin summary. For more information, see Microsoft Exploitability Index.

Vulnerability Severity Rating and Maximum Security Impact by Affected Software
Affected Software VBE6.DLL Stack Memory Corruption Vulnerability - CVE-2010-0815 Aggregate Severity Rating
Office Suite    
Microsoft Office XP Service Pack 3
Important
Remote Code Execution
Important

Microsoft Office 2003 Service Pack 3
Important
Remote Code Execution
Important

2007 Microsoft Office System Service Pack 1 and 2007 Microsoft Office System Service Pack 2
Important
Remote Code Execution
Important

Developer Tools    
Microsoft Visual Basic for Applications[1]
Critical
Remote Code Execution
Critical

Microsoft Visual Basic for Applications SDK[2]
Critical
Remote Code Execution
Critical


[1]This update package applies to supported versions of the Microsoft Visual Basic for Applications runtime (Vbe6.dll) and is available from the Microsoft Download Center only.

[2]The supported versions of the VBA SDK are Microsoft Visual Basic for Applications SDK 6.3, Microsoft Visual Basic for Applications SDK 6.4, and Microsoft Visual Basic for Applications SDK 6.5.

Top of section
VBE6.DLL Stack Memory Corruption Vulnerability - CVE-2010-0815

A remote code execution vulnerability exists in the way that Microsoft Visual Basic for Applications searches for ActiveX controls. This vulnerability could allow remote code execution if a host application opens and passes a specially crafted file to the Visual Basic for Applications runtime. If a user is logged on with administrative user rights, an attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

To view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2010-0815.

Mitigating Factors for VBE6.DLL Stack Memory Corruption Vulnerability - CVE-2010-0815

Mitigation refers to a setting, common configuration, or general best-practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors may be helpful in your situation:

Х By default, the 2007 Microsoft Office System prompts a user with a security warning before activating an embedded ActiveX control in an Office document. Users who choose to not enable the control are protected by this default setting. For more information, see the Microsoft Office Online article, Enable or disable ActiveX controls in Office documents.

Х An attacker who successfully exploited this vulnerability could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

Х In a Web-based attack scenario, an attacker could host a Web site that contains a Web page that is used to exploit this vulnerability. In addition, compromised Web sites and Web sites that accept or host user-provided content or advertisements could contain specially crafted content that could exploit this vulnerability. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to convince users to visit the Web site, typically by getting them to click a link in an e-mail message or Instant Messenger message that takes users to the attacker's Web site, and then convince them to open the specially crafted Office file.

Х The vulnerability cannot be exploited automatically through e-mail. For an attack to be successful, a user must open an attachment that is sent in an e-mail message.


Top of section
Workarounds for VBE6.DLL Stack Memory Corruption Vulnerability - CVE-2010-0815

Workaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:

Х Disable ActiveX controls in the 2007 Microsoft Office System

You can disable ActiveX controls in the 2007 Microsoft Office System using the TrustCenter. Refer to the instructions for how to "Disable all controls without notification" in the Microsoft Office Online article, Enable or disable ActiveX controls in Office documents.

Impact of workaround. Embedded ActiveX controls (such as macros) will not run in Office documents.

Х Restrict access to VBE6.dll

For Microsoft Windows 2000, Windows XP, and Windows Server 2003, enter the following at a command prompt:

cacls "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll" /E /P everyone:N

For Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2, enter the following at an elevated command prompt:

takeown /f "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll"
icacls "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll" /save %TEMP%\VBE6 _ACL.TXT
icacls "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll" /deny everyone:(F)

Impact of workaround. Embedded ActiveX controls (such as macros) will not run in Office documents. For instance, users will be unable to insert objects into Office documents.

How to undo the workaround.

For Microsoft Windows 2000, Windows XP, and Windows Server 2003, enter the following at a command prompt:

cacls "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll" /E /R everyone

For Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2, enter the following at a command prompt:

icacls "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\" /restore %TEMP%\VBE6_ACL.TXT


Х Use the Microsoft Office Isolated Conversion Environment (MOICE) when opening files from unknown or untrusted sources

The Microsoft Office Isolated Conversion Environment (MOICE) helps protect Office 2003 installations by more securely opening Word, Excel, and PowerPoint binary format files.

To install MOICE, you must have Office 2003 or 2007 Office system installed.

To install MOICE, you must have the Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats. The compatibility pack is available as a free download from the Microsoft Download Center:

Download the FileFormatConverters.exe package now

MOICE requires all updates that are recommended for all Office programs. Visit Microsoft Update to install all recommended updates:

http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=en-us

To enable MOICE, change the registered handler for the office file formats. The following table describes the command to enable or to disable MOICE for the Office file formats:

Command to enable MOICE to be the registered handler Command to disable MOICE as the registered handler
ASSOC .XLS=oice.excel.sheet
ASSOC .xls=Excel.Sheet.8

ASSOC .XLT=oice.excel.template
ASSOC .xlt=Excel.Template

ASSOC .XLA=oice.excel.addin
ASSOC .xla=Excel.Addin

ASSOC .doc=oice.word.document
ASSOC .doc=Word.Document.8

ASSOC .PPT=oice.powerpoint.show
ASSOC .ppt=PowerPoint.Show.8

ASSOC .POT=oice.powerpoint.template
ASSOC .PPS=oice.powerpoint.slideshow

ASSOC .PPS=oice.powerpoint.slideshow
ASSOC .pps=PowerPoint.SlideShow.8


Note On Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2, the commands above will need to be run from an elevated command prompt.

For more information on MOICE, see Microsoft Knowledge Base Article 935865.

Impact of workaround. Office 2003 and earlier formatted documents that are converted to the 2007 Microsoft Office System Open XML format by MOICE will not retain macro functionality. Additionally, documents with passwords or that are protected with Digital Rights Management cannot be converted.

How to undo the workaround. For information on how to undo this workaround, see Microsoft Knowledge Base Article 935865.

Х Do not open or save Microsoft Office files that you receive from untrusted sources or that you receive unexpectedly from trusted sources. This vulnerability could be exploited when a user opens a specially crafted file.


Top of section
FAQ for VBE6.DLL Stack Memory Corruption Vulnerability - CVE-2010-0815

What is the scope of the vulnerability?
This is a remote code execution vulnerability in Microsoft Visual Basic for Applications (VBA). An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

What causes the vulnerability?
The vulnerability is caused by the way that Visual Basic for Applications searches for ActiveX controls in a document that supports VBA. As a result, it is possible for a host application, such as Microsoft Office or a third-party application developed for Visual Basic programmability, to pass a specially crafted document with embedded ActiveX controls to the VBA runtime creating a condition that could allow arbitrary code to be run.

What is Visual Basic for Applications (VBA)?
Microsoft VBA is a development technology for developing client desktop packaged applications and integrating them with existing data and systems. Microsoft VBA is based on the Microsoft Visual Basic development system. Microsoft Office products include VBA and make use of VBA to perform certain functions. VBA can also be used to build customized applications based around an existing host application.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

How could an attacker exploit the vulnerability?
In order for an attack to be successful, a user would have to open a specially crafted document that supports VBA. This document could be any type of document that supports VBA, such as a Word document, Excel spreadsheet, or PowerPoint presentation.

In an e-mail attack scenario, an attacker could exploit the vulnerability by sending a specially-crafted Office file to the user and by convincing the user to open the file.

In a Web-based attack scenario, an attacker would have to host a Web site that contains a document that supports VBA such as an Office file that is used to attempt to exploit this vulnerability. In addition, compromised Web sites and Web sites that accept or host user-provided content could contain specially crafted content that could exploit this vulnerability. An attacker would have no way to force users to visit a specially crafted Web site. Instead, an attacker would have to convince them to visit the Web site, typically by getting them to click a link in an e-mail message or Instant Messenger message that takes them to the attacker's Web site, and then convince them to open the specially crafted Office file.

What systems are primarily at risk from the vulnerability?
Workstations and terminal servers where Microsoft Visual Basic for Applications or Microsoft Office is used are primarily at risk. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this.

What does the update do?
The update addresses the vulnerability by modifying the way that Microsoft Visual Basic for Applications searches for ActiveX Controls embedded in documents.

When this security bulletin was issued, had this vulnerability been publicly disclosed?
No. Microsoft received information about this vulnerability through responsible disclosure.

When this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited?
No. Microsoft had not received any information to indicate that this vulnerability had been publicly used to attack customers when this security bulletin was originally issued.

Top of section
Top of section
Update Information
Detection and Deployment Tools and Guidance

Manage the software and security updates you need to deploy to the servers, desktop, and mobile systems in your organization. For more information see the TechNet Update Management Center. The Microsoft TechNet Security Web site provides additional information about security in Microsoft products.

Security updates are available from Microsoft Update and Windows Update. Security updates are also available from the Microsoft Download Center. You can find them most easily by doing a keyword search for "security update."

Finally, security updates can be downloaded from the Microsoft Update Catalog. The Microsoft Update Catalog provides a searchable catalog of content made available through Windows Update and Microsoft Update, including security updates, drivers and service packs. By searching using the security bulletin number (such as, "MS07-036"), you can add all of the applicable updates to your basket (including different languages for an update), and download to the folder of your choosing. For more information about the Microsoft Update Catalog, see the Microsoft Update Catalog FAQ.

Note Microsoft discontinued support for Office Update and the Office Update Inventory Tool as of August 1, 2009. To continue getting the latest updates for Microsoft Office products, use Microsoft Update. For more information, see About Microsoft Office Update: Frequently Asked Questions.

Detection and Deployment Guidance

Microsoft provides detection and deployment guidance for security updates. This guidance contains recommendations and information that can help IT professionals understand how to use various tools for detection and deployment of security updates. For more information, see Microsoft Knowledge Base Article 961747.

Microsoft Baseline Security Analyzer

Microsoft Baseline Security Analyzer (MBSA) allows administrators to scan local and remote systems for missing security updates as well as common security misconfigurations. For more information about MBSA, visit Microsoft Baseline Security Analyzer.

The following table provides the MBSA detection summary for this security update.

Software  MBSA 2.1.1
Microsoft Office XP Service Pack 3
Yes

Microsoft Office 2003 Service Pack 3
Yes

2007 Microsoft Office System Service Pack 1 and 2007 Microsoft Office System Service Pack 2
Yes

Microsoft Visual Basic for Applications
No


The latest version of MBSA has been released: Microsoft Baseline Security Analyzer 2.1.1. For more information, see Microsoft Baseline Security Analyzer 2.1.

Note For customers using legacy software not supported by MBSA 2.1.1, Microsoft Update, and Windows Server Update Services: please visit Microsoft Baseline Security Analyzer and reference the Legacy Product Support section on how to create comprehensive security update detection with legacy tools.

Windows Server Update Services

By using Windows Server Update Services (WSUS), administrators can deploy the latest critical updates and security updates for Microsoft Windows 2000 operating systems and later, Office XP and later, Exchange Server 2003, and SQL Server 2000. For more information about how to deploy this security update using Windows Server Update Services, visit the Windows Server Update Services Web site.

Systems Management Server

The following table provides the SMS detection and deployment summary for this security update.

Software SMS 2.0 SMS 2003 with SUIT SMS 2003 with ITMU Configuration Manager 2007
Microsoft Office XP Service Pack 3
No
No
Yes
Yes

Microsoft Office 2003 Service Pack 3
No
No
Yes
Yes

2007 Microsoft Office System Service Pack 1 and 2007 Microsoft Office System Service Pack 2
No
No
Yes
Yes

Microsoft Visual Basic for Applications
No
No
No
No


For SMS 2.0 and SMS 2003, the Security Update Inventory Tool (SUIT) can be used by SMS to detect security updates. See also Downloads for Systems Management Server 2.0.

For SMS 2003, the SMS 2003 Inventory Tool for Microsoft Updates (ITMU) can be used by SMS to detect security updates that are offered by Microsoft Update and that are supported by Windows Server Update Services. For more information about the SMS 2003 ITMU, see SMS 2003 Inventory Tool for Microsoft Updates. For more information about SMS scanning tools, see SMS 2003 Software Update Scanning Tools. See also Downloads for Systems Management Server 2003.

System Center Configuration Manager 2007 uses WSUS 3.0 for detection of updates. For more information about Configuration Manager 2007 Software Update Management, visit System Center Configuration Manager 2007.

For more information about SMS, visit the SMS Web site.

For more detailed information, see Microsoft Knowledge Base Article 910723: Summary list of monthly detection and deployment guidance articles.

Note If you have used an Administrative Installation Point (AIP) for deploying Office XP or Office 2003, you may not be able to deploy the update using SMS if you have updated the AIP from the original baseline. For more information, see the Office Administrative Installation Point heading in this section.

Office Administrative Installation Point

If you installed your application from a server location, the server administrator must update the server location with the administrative update and deploy that update to your system.

Х For supported versions of Microsoft Office XP, see Creating an Administrative Installation Point. For more information on how to change the source for a client system from an updated administrative installation point to an Office XP original baseline source, see Microsoft Knowledge Base Article 922665.

Note If you plan to manage software updates centrally from an updated administrative image, you can find more information in the article Updating Office XP Clients from a Patched Administrative Image.

Х For supported versions of Microsoft Office 2003, see Creating an Administrative Installation Point. For more information on how to change the source for a client computer from an updated administrative installation point to an Office 2003 original baseline source or Service Pack 3 (SP3), see Microsoft Knowledge Base Article 902349.

Note If you plan to manage software updates centrally from an updated administrative image, you can find more information in the article, Distributing Office 2003 Product Upgrades.

Х For supported versions of the 2007 Microsoft Office system, see Create a network installation point for the 2007 Office system.

Note If you plan to manage security updates centrally, use Windows Server Update Services. For more information about how to deploy security updates for the 2007 Microsoft Office system using Windows Server Update Services, visit the Windows Server Update Services Web site.


Update Compatibility Evaluator and Application Compatibility Toolkit

Updates often write to the same files and registry settings required for your applications to run. This can trigger incompatibilities and increase the time it takes to deploy security updates. You can streamline testing and validating Windows updates against installed applications with the Update Compatibility Evaluator components included with Application Compatibility Toolkit.

The Application Compatibility Toolkit (ACT) contains the necessary tools and documentation to evaluate and mitigate application compatibility issues before deploying Microsoft Windows Vista, a Windows Update, a Microsoft Security Update, or a new version of Windows Internet Explorer in your environment.

Top of section
Security Update Deployment

Affected Software

For information about the specific security update for your affected software, click the appropriate link:

Office XP (all editions)

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
There are no more service packs planned for this software. The update for this issue may be included in a future update rollup.

Deployment
  

Installing without user intervention
OfficeXP-kb976380-fullfile-enu /q:a

Installing without restarting
OfficeXP-kb976380-fullfile-enu /r:n

Update log file
Not applicable

Further information
For detection and deployment, see the earlier section, Detection and Deployment Tools and Guidance.

For features you can selectively install, see the Office Features for Administrative Installations subsection in this section.

Restart Requirement
  

Restart required?
In some cases, this update does not require a restart. If the required files are being used, this update will require a restart. If this behavior occurs, a message appears that advises you to restart.

To help reduce the chance that a restart will be required, stop all affected services and close all applications that may use the affected files prior to installing the security update. For more information about the reasons why you may be prompted to restart, see Microsoft Knowledge Base Article 887012.

Hotpatching
Not applicable

Removal Information
Use Add or Remove Programs tool in Control Panel.

Note When you remove this update, you may be prompted to insert the Microsoft Office XP CD in the CD drive. Additionally, you may not have the option to uninstall the update from the Add or Remove Programs tool in Control Panel. There are several possible causes for this issue. For more information about the removal, see Microsoft Knowledge Base Article 903771.

File Information
See Microsoft Knowledge Base Article 976380

Registry Key Verification
Not applicable

Office Features

The following table contains the list of feature names (case sensitive) that must be reinstalled for the update. To install all features, you can use REINSTALL=ALL or you can install the following features:

Product Feature
ACCESS, FP, OUTLOOK, PIPC1, PPT, PROPLUS, ACCESSRT, PRO, PUB, SBE, STD, STDEDU, WORD, EXCEL, PRJPRO, PRJSTD
VBAFiles


Note Administrators working in managed environments can find complete resources for deploying Office updates in an organization at the Office Admin Update Center. At that site, scroll down and look under the Update Resources section for the software version you are updating. The Windows Installer Documentation also provides more information about the parameters supported by Windows Installer.

Top of section
Deployment Information

Installing the Update

You can install the update from the appropriate download link in the Affected and Non-Affected Software section. If you installed your application from a server location, the server administrator must instead update the server location with the administrative update and deploy that update to your system. For more information about Administrative Installation Points, refer to the Office Administrative Installation Point information in the Detection and deployment Tools and Guidance subsection.

This security update requires that Windows Installer 2.0 or later be installed on the system. All supported versions of Windows include Windows Installer 2.0 or a later version.

To install the 2.0 or later version of Windows Installer, visit one of the following Microsoft Web sites:

Х Windows Installer 4.5 Redistributable for Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Х Windows Installer 3.1 Redistributable for Windows Server 2003, Windows XP, and Microsoft Windows 2000

Х Windows Installer 2.0 Redistributable for Microsoft Windows 2000 and Windows NT 4.0


For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches
Switch Description
/q
Specifies quiet mode, or suppresses prompts, when files are being extracted.

/q:u
Specifies user-quiet mode, which presents some dialog boxes to the user.

/q:a
Specifies administrator-quiet mode, which does not present any dialog boxes to the user.

/t:path
Specifies the target folder for extracting files.

/c
Extracts the files without installing them. If /t:path is not specified, you are prompted for a target folder.

/c:path
Overrides the install command that is defined by author. Specifies the path and name of the Setup.inf or .exe file.

/r:n
Never restarts the system after installation.

/r:I
Prompts the user to restart the system if a restart is required, except when used with /q:a.

/r:a
Always restarts the system after installation.

/r:s
Restarts the system after installation without prompting the user.

/n:v
No version checking - Install the program over any earlier version.


Note You can combine these switches into one command. For backward compatibility, the security update also supports the setup switches that the earlier version of the Setup program uses. For more information about the supported installation switches, see Microsoft Knowledge Base Article 262841.

Removing the Update

To remove this security update, use the Add or Remove Programs tool in Control Panel. Note When you remove this update, you may be prompted to insert the Microsoft Office XP CD in the CD drive. Additionally, you may not have the option to uninstall the update from the Add or Remove Programs tool in Control Panel. There are several possible causes for this issue. For more information about the removal, see Microsoft Knowledge Base Article 903771.

Verifying That the Update Has Been Applied

Х Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.

Х File Version Verification

Because there are several versions and editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1.
Click Start, and then click Search.

2.
In the Search Results pane, click All files and folders under Search Companion.

3.
In the All or part of the file name box, type a file name from the appropriate file information table, and then click Search.

4.
In the list of files, right-click a file name from the appropriate file information table, and then click Properties.

Note Depending on the version of the operating system or programs installed, some of the files that are listed in the file information table may not be installed.

5.
On the Version tab, determine the version of the file that is installed on your system by comparing it to the version that is documented in the appropriate file information table.

Note Attributes other than the file version may change during installation. Comparing other file attributes to the information in the file information table is not a supported method of verifying that the update has been applied. Also, in certain cases, files may be renamed during installation. If the file or version information is not present, use one of the other available methods to verify update installation.



Top of section
Top of section
Office 2003 (all editions)

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
There are no more service packs planned for this software. The update for this issue may be included in a future update rollup.

Deployment
  

Installing without user intervention
Office2003-kb976382-fullfile-enu /q:a

Installing without restarting
Office2003-kb976382-fullfile-enu /r:n

Update log file
Not applicable

Further information
For detection and deployment, see the earlier section, Detection and Deployment Tools and Guidance.

For features you can selectively install, see the Office Features for Administrative Installations subsection in this section.

Restart Requirement
  

Restart required?
In some cases, this update does not require a restart. If the required files are being used, this update will require a restart. If this behavior occurs, a message appears that advises you to restart.

To help reduce the chance that a restart will be required, stop all affected services and close all applications that may use the affected files prior to installing the security update. For more information about the reasons why you may be prompted to restart, see Microsoft Knowledge Base Article 887012.

Hotpatching
Not applicable

Removal Information
After you install the update, you cannot remove it. To revert to an installation before the update was installed; you must remove the application, and then install it again from the original media.

File Information
See Microsoft Knowledge Base Article 976382

Registry Key Verification
Not applicable

Office Features

The following table contains the list of feature names (case sensitive) that must be reinstalled for the update. To install all features, you can use REINSTALL=ALL or you can install the following features:

Product Feature
ACCESSRT, OUTLS11, VISVEA, PPT11, ACC11, BASIC11, FP11, OUTL11, OUTLSM11, PERS11, PRO11SB, PROI11, PRO11, PUB11, STDP11, STD11, WORD11, EXCEL11, PRJPROE, PRJPRO, PRJSTDE, PRJSTD, VISPRO, VISPROR, VISSTD, VISSTDR
VBAFile


Note Administrators working in managed environments can find complete resources for deploying Office updates in an organization at the Office Admin Update Center. At that site, scroll down and look under the Update Resources section for the software version you are updating. The Windows Installer Documentation also provides more information about the parameters supported by Windows Installer.

Top of section
Deployment Information

Installing the Update

You can install the update from the appropriate download link in the Affected and Non-Affected Software section. If you installed your application from a server location, the server administrator must instead update the server location with the administrative update and deploy that update to your system. For more information about Administrative Installation Points, refer to the Office Administrative Installation Point information in the Detection and deployment Tools and Guidance subsection.

This security update requires that Windows Installer 2.0 or later be installed on the system. All supported versions of Windows include Windows Installer 2.0 or a later version.

To install the 2.0 or later version of Windows Installer, visit one of the following Microsoft Web sites:

Х Windows Installer 4.5 Redistributable for Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Х Windows Installer 3.1 Redistributable for Windows Server 2003, Windows XP, and Microsoft Windows 2000

Х Windows Installer 2.0 Redistributable for Microsoft Windows 2000 and Windows NT 4.0


For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches
Switch Description
/q
Specifies quiet mode, or suppresses prompts, when files are being extracted.

/q:u
Specifies user-quiet mode, which presents some dialog boxes to the user.

/q:a
Specifies administrator-quiet mode, which does not present any dialog boxes to the user.

/t:path
Specifies the target folder for extracting files.

/c
Extracts the files without installing them. If /t:path is not specified, you are prompted for a target folder.

/c:path
Overrides the install command that is defined by author. Specifies the path and name of the Setup.inf or .exe file.

/r:n
Never restarts the system after installation.

/r:I
Prompts the user to restart the system if a restart is required, except when used with /q:a.

/r:a
Always restarts the system after installation.

/r:s
Restarts the system after installation without prompting the user.

/n:v
No version checking - Install the program over any earlier version.


Note You can combine these switches into one command. For backward compatibility, the security update also supports many of the setup switches that the earlier version of the Setup program uses. For more information about the supported installation switches, see Microsoft Knowledge Base Article 262841.

Removing the Update

After you install the update, you cannot remove it. To revert to an installation before the update was installed; you must remove the application, and then install it again from the original media.

Verifying that the Update Has Been Applied

Х Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.

Х File Version Verification

Because there are several editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1.
Click Start and then enter an update file name in Start Search.

2.
When the file appears under Programs, right-click on the file name and click Properties.

3.
Under the General tab, compare the file size with the file information tables provided in the bulletin KB article.

4.
You may also click on the Details tab and compare information, such as file version and date modified, with the file information tables provided in the bulletin KB article.

5.
Finally, you may also click on the Previous Versions tab and compare file information for the previous version of the file with the file information for the new, or updated, version of the file.



Top of section
Top of section
The 2007 Microsoft Office System (all editions)

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
The update for this issue will be included in a future service pack or update rollup

Deployment
  

Installing without user intervention
office2007-kb976321-fullfile-x86-glb /passive

Installing without restarting
office2007-kb976321-fullfile-x86-glb /norestart

Update log file
Not applicable

Further information
For detection and deployment, see the earlier section, Detection and Deployment Tools and Guidance.

Restart Requirement
  

Restart required?
In some cases, this update does not require a restart. If the required files are being used, this update will require a restart. If this behavior occurs, a message appears that advises you to restart.

To help reduce the chance that a restart will be required, stop all affected services and close all applications that may use the affected files prior to installing the security update. For more information about the reasons why you may be prompted to restart, see Microsoft Knowledge Base Article 887012.

Hotpatching
Not applicable

Removal Information
Use Add or Remove Programs tool in Control Panel.

File Information
See Microsoft Knowledge Base Article 976321

Registry Key Verification
Not applicable

Deployment Information

Installing the Update

You can install the update from the appropriate download link in the Affected and Non-Affected Software section. If you installed your application from a server location, the server administrator must instead update the server location with the administrative update and deploy that update to your system. For more information about Administrative Installation Points, refer to the Office Administrative Installation Point information in the Detection and deployment Tools and Guidance subsection.

This security update requires that Windows Installer 3.1 or later be installed on the system.

To install the 3.1 or later version of Windows Installer, visit one of the following Microsoft Web sites:

Х Windows Installer 4.5 Redistributable for Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Х Windows Installer 3.1 Redistributable for Windows Server 2003, Windows XP, and Microsoft Windows 2000


For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches
Switch Description
/? or /help
Displays usage dialog.

/passive
Specifies passive mode. Requires no user interaction; users see basic progress dialogs but cannot cancel.

/quiet
Specifies quiet mode, or suppresses prompts, when files are being extracted.

/norestart
Suppresses restarting the system if the update requires a restart.

/forcerestart
Automatically restarts the system after applying the update, regardless of whether the update requires the restart.

/extract
Extracts the files without installing them. You are prompted for a target folder.

/extract:<path>
Overrides the install command that is defined by author. Specifies the path and name of the Setup.inf or .exe file.

/lang:<LCID>
Forces the use of a specific language, when the update package supports that language.

/log:<log file>
Enables logging, by both Vnox and Installer, during the update installation.


Note You can combine these switches into one command. For backward compatibility, the security update also supports many of the setup switches that the earlier version of the Setup program uses. For more information about the supported installation switches, see Microsoft Knowledge Base Article 262841.

Removing the Update

To remove this security update, use the Add or Remove Programs tool in Control Panel.

Note When you remove this update, you may be prompted to insert the 2007 Microsoft Office CD in the CD drive. Additionally, you may not have the option to uninstall the update from the Add or Remove Programs tool in Control Panel. There are several possible causes for this issue. For more information about the removal, see Microsoft Knowledge Base Article 903771.

Verifying that the Update Has Been Applied

Х Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.

Х File Version Verification

Because there are several editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1.
Click Start and then enter an update file name in Start Search.

2.
When the file appears under Programs, right-click on the file name and click Properties.

3.
Under the General tab, compare the file size with the file information tables provided in the bulletin KB article.

4.
You may also click on the Details tab and compare information, such as file version and date modified, with the file information tables provided in the bulletin KB article.

5.
Finally, you may also click on the Previous Versions tab and compare file information for the previous version of the file with the file information for the new, or updated, version of the file.



Top of section
Top of section
Microsoft Visual Basic for Applications  

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
The update for this issue may be included in a future update rollup

Deployment
  

Installing without user intervention
VBA65-KB974945-x86-ENU /q:a

Installing without restarting
VBA65-KB974945-x86-ENU /r:n

Update log file
Not applicable

Further information
See the subsection, Detection and Deployment Tools and Guidance

Restart Requirement
  

Restart required?
In some cases, this update does not require a restart. If the required files are being used, this update will require a restart. If this behavior occurs, a message appears that advises you to restart.

HotPatching
Not applicable

Removal Information
After you install the update, you cannot remove it.

File Information
See Microsoft Knowledge Base Article 974945

Registry Key Verification
Not applicable

Note You may be able to verify the file installed by the security update as follows:
File version of vbe6.dll is 6.5.10.53

Deployment Information

Installing the Update

You can install the update from the appropriate download link in the Affected and Non-Affected Software section. If you installed your application from a server location, the server administrator must instead update the server location with the administrative update and deploy that update to your system.

For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches
Switch Description
/q
Specifies quiet mode, or suppresses prompts, when files are being extracted.

/q:u
Specifies user-quiet mode, which presents some dialog boxes to the user.

/q:a
Specifies administrator-quiet mode, which does not present any dialog boxes to the user.

/t:path
Specifies the target folder for extracting files.

/c
Extracts the files without installing them. If /t:path is not specified, you are prompted for a target folder.

/c:path
Overrides the install command that is defined by author. Specifies the path and name of the Setup.inf or .exe file.

/r:n
Never restarts the system after installation.

/r:I
Prompts the user to restart the system if a restart is required, except when used with /q:a.

/r:a
Always restarts the system after installation.

/r:s
Restarts the system after installation without prompting the user.

/n:v
No version checking - Install the program over any earlier version.


Note You can combine these switches into one command.

Removing the Update

After you install the update, you cannot remove it.

Verifying that the Update Has Been Applied

Х Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.

Х File Version Verification

Note Because there are several versions and editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1. Click Start, and then click Search.

2. In the Search Results pane, click All files and folders under Search Companion.

3. In the All or part of the file name box, type a file name from the appropriate file information table, and then click Search.

4. In the list of files, right-click a file name from the appropriate file information table, and then click Properties.

Note Depending on the edition of the operating system, or the programs that are installed on your system, some of the files that are listed in the file information table may not be installed.

5. On the Version tab, determine the version of the file that is installed on your system by comparing it to the version that is documented in the appropriate file information table.

Note Attributes other than the file version may change during installation. Comparing other file attributes to the information in the file information table is not a supported method of verifying that the update has been applied. Also, in certain cases, files may be renamed during installation. If the file or version information is not present, use one of the other available methods to verify update installation.


Top of section
Top of section
Top of section
Other Information
Acknowledgments
Microsoft thanks the following for working with us to help protect customers:

Х NSFocus Security Team for reporting the VBE6.DLL Stack Memory Corruption Vulnerability (CVE-2010-0815)


Top of section
Microsoft Active Protections Program (MAPP)
To improve security protections for customers, Microsoft provides vulnerability information to major security software providers in advance of each monthly security update release. Security software providers can then use this vulnerability information to provide updated protections to customers via their security software or devices, such as antivirus, network-based intrusion detection systems, or host-based intrusion prevention systems. To determine whether active protections are available from security software providers, please visit the active protections Web sites provided by program partners, listed in Microsoft Active Protections Program (MAPP) Partners.

Top of section
Support
Х Customers in the U.S. and Canada can receive technical support from Security Support or 1-866-PCSAFETY begin_of_the_skype_highlighting              1-866-PCSAFETY      end_of_the_skype_highlighting. There is no charge for support calls that are associated with security updates. For more information about available support options, see Microsoft Help and Support.

Х International customers can receive support from their local Microsoft subsidiaries. There is no charge for support that is associated with security updates. For more information about how to contact Microsoft for support issues, visit the International Support Web site.


Top of section
Disclaimer
The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.

Top of section
Revisions
Х V1.0 (May 11, 2010): Bulletin published.

Telegram ѕодписывайтесь на канал "SecurityLab" в Telegram, чтобы первыми узнавать о новост€х и эксклюзивных материалах по информационной безопасности.