Security Bulletin

Microsoft Security Bulletin MS13-034 - Important

Vulnerability in Microsoft Antimalware Client Could Allow Elevation of Privilege (2823482)

Published: April 09, 2013 | Updated: October 08, 2013

Version: 1.2

General Information

Executive Summary

This security update resolves a privately reported vulnerability in the Microsoft Antimalware Client. The vulnerability could allow elevation of privilege due to the pathnames used by the Microsoft Antimalware Client. An attacker who successfully exploited this vulnerability could execute arbitrary code and take complete control of an affected system. The attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An attacker must have valid logon credentials to exploit this vulnerability. The vulnerability could not be exploited by anonymous users.

This security update is rated Important for the Microsoft Antimalware Client in supported versions of Windows Defender for Windows 8 and Windows RT. This security update has no severity rating for the Microsoft Antimalware Client in other Microsoft antimalware programs. For more information, see the subsection, Affected and Non-Affected Software, in this section.

The security update addresses the vulnerability by correcting pathnames used by the Microsoft Antimalware Client. For more information about the vulnerabilities, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information.

Recommendation. Most customers have automatic updating enabled and will not need to take any action because this security update will be downloaded and installed automatically. Customers who have not enabled automatic updating need to check for updates and install this update manually. For information about specific configuration options in automatic updating, see Microsoft Knowledge Base Article 294871.

For administrators and enterprise installations, or end users who want to install this security update manually, Microsoft recommends that customers apply the update at the earliest opportunity using update management software, or by checking for updates using the Microsoft Update service.

See also the section, Detection and Deployment Tools and Guidance, later in this bulletin.

Knowledge Base Article

Knowledge Base Article 2823482
File information Yes
SHA1/SHA2 hashes Yes
Known issues None

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, see Microsoft Support Lifecycle.

Affected Software

Antimalware Software Maximum Security Impact Aggregate Severity Rating Updates Replaced
Windows Defender for Windows 8 and Windows RT[1] \ (2781197) Elevation of Privilege Important None

[1]This update is available via Windows Update.

Non-Affected Software 

Antimalware Software
Windows Defender for Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 
Microsoft Security Essentials 
Microsoft Forefront Client Security 
Microsoft Forefront Endpoint Protection 2010 
Microsoft System Center 2012 Endpoint Protection 
Microsoft System Center 2012 Endpoint Protection Service Pack 1 
Windows Intune Endpoint Protection 
Microsoft System Center 2012 Endpoint Protection for Linux
Microsoft System Center 2012 Endpoint Protection for Mac
Microsoft System Center 2012 Endpoint Protection for Mac Service Pack 1
Microsoft Malicious Software Removal Tool
Microsoft Antigen for Exchange
Microsoft Antigen for SMTP Gateway
Forefront Security for Exchange Server
Forefront Protection 2010 for Exchange Server
Forefront Threat Management Gateway 2010 Service Pack 2
Microsoft Forefront Security for SharePoint
Forefront Security for Office Communications Server
Microsoft Standalone System Sweeper (part of Microsoft Diagnostics and Recovery Toolset)

Update FAQ

Does this update contain any non-security related changes to functionality? 
Yes. In addition to the changes that are listed in the Vulnerability Information section of this bulletin, this update includes other functionality changes as described in Microsoft Knowledge Base Article 2781197.

What is Windows Defender? 
Windows Defender is a free antimalware software that's now included in Windows 8. It helps protect a user’s computer against malware and other potentially unwanted software. Windows Defender provides real-time protection and anytime scanning options.

What versions of the Microsoft Antimalware Client in Windows Defenderdoes this update apply to? 
If the version of the Microsoft Antimalware Client is equal to or greater than version 4.2.223.0, then your client has already been updated and you do not need to take any further action. If the version of the Microsoft Antimalware Client is less than version 4.2.223.0, then you should install the update.

For more information on how to verify the client version number that your software is currently using, see the section, "Verifying Update Installation", in Microsoft Knowledge Base Article 2510781.

Is the Microsoft Antimalware Client updated with Microsoft Malware Protection Engine and malware definitions updates? 
No. Microsoft releases updates for the Microsoft Antimalware Client though standard distribution methods such as the Microsoft Update service. Updates for the Microsoft Antimalware Client are separate from updates to malware definitions.

Where can I find more information about Microsoft antimalware technology? 
For more information, visit the Microsoft Malware Protection Center website.

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, see the Microsoft Support Lifecycle website.

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 Service Pack Lifecycle Support Policy.

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, see the Microsoft Worldwide Information website, 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.

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 April bulletin summary. For more information, see Microsoft Exploitability Index.

Anti-malware Software Microsoft Antimalware Improper Pathname Vulnerability - CVE-2013-0078 Aggregate Severity Rating
Windows Defender for Windows 8 and Windows RT Important  Elevation of Privilege Important

Microsoft Antimalware Improper Pathname Vulnerability - CVE-2013-0078

This is an elevation of privilege vulnerability. An attacker who successfully exploited this vulnerability could execute arbitrary code in the security context of the LocalSystem account and take complete control of the system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An attacker must have valid logon credentials to exploit this vulnerability. The vulnerability could not be exploited by anonymous users.

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

Mitigating Factors

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:

  • An attacker must have valid logon credentials to exploit this vulnerability. The vulnerability could not be exploited by anonymous users.
  • In a Windows 8 default configuration, a standard user does not have permissions to write files to the root directory on the system. This mitigates the vulnerability because, in a default configuration, a standard user would not have the necessary permissions to exploit the vulnerability.

Workarounds

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:

  • Correct the Windows Defender image pathname on Windows 8 and Windows RT systems

    Use this workaround to block attack vectors for the vulnerability on Windows 8 and Windows RT systems.

    Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

    1. Create a backup of the registry keys. Backup copies can be made using a managed deployment script by performing the following command as an administrator:

      Regedit.exe /e c:\temp\Windefend_backup.reg HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend

      Note When run as an administrator, the above command creates a file named "Windefend_backup.reg" in the c:\temp folder.

    2. Create a text file named Windefend_ImagePath_fix.reg with the following contents:

      Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend] "ImagePath"=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,\ 69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,\ 00,20,00,44,00,65,00,66,00,65,00,6e,00,64,00,65,00,72,00,5c,00,4d,00,73,00,\ 4d,00,70,00,45,00,6e,00,67,00,2e,00,65,00,78,00,65,00,22,00,00,00

      Save the Windefend_ImagePath_fix.reg file to the c:\temp folder.

    3. Run the registry script file you created in step 2 on the target system by using one of the following methods:

      Method #1:

      Double-click the Windefend_ImagePath_fix.reg file.

      The following confirmation message should be displayed:

      The keys and values contained in C:\temp\Windefend_ImagePath_fix.reg have been successfully added to the registry.

      Method #2:

      Alternatively, perform the following command as an administrator:

      Regedit /s c:\temp\Windefend_ImagePath_fix.reg

      Warning When using the command line method above, no confirmation message is displayed. You will not be notified as to whether or not the registry keys and values were successfully added to the registry.

    Impact of workaround. None. This workaround changes the image pathname to the correct value.

    How to undo the workaround.

    Restore the backup file you created in step 1, above, by using one of the following methods:

    • Double-click the Windefend_backup.reg file.

      The following confirmation message should be displayed:

      The keys and values contained in C:\temp\Windefend_backup.reg have been successfully added to the registry.

    • Alternatively, perform the following command as an administrator:

      Regedit /s c:\temp\Windefend_backup.reg

      Warning When using the command line method above, no confirmation message is displayed. You will not be notified as to whether or not the registry keys and values were successfully added to the registry.

     

FAQ

What is the scope of the vulnerability?
This is an elevation of privilege vulnerability.

What causes the vulnerability?
This vulnerability is caused when improper pathnames are used by the Microsoft Antimalware Client.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could execute arbitrary code in the security context of the LocalSystem account and take complete control of the system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

An attacker must have valid logon credentials to exploit this vulnerability. The vulnerability could not be exploited by anonymous users.

What is the LocalSystem account?
The LocalSystem account is a predefined local account used by the service control manager. It has extensive privileges on the local computer, and acts as the computer on the network. Its token includes the NT AUTHORITY\SYSTEM and BUILTIN\Administrators SIDs; these accounts have access to most system objects. A service that runs in the context of the LocalSystem account inherits the security context of the Service Control Manager. Most services do not need such a high privilege level. For more information, see the MSDN article, LocalSystem Account.

How could an attacker exploit the vulnerability?
To exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability.

What systems are primarily at risk from the vulnerability?
Windows 8 workstations are primarily at risk.

What does the update do?
The update addresses the vulnerability by correcting pathnames used by the Microsoft Antimalware Client.

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

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

Update Information

Detection and Deployment Tools and Guidance

Several resources are available to help administrators deploy security updates. 

  • Microsoft Baseline Security Analyzer (MBSA) lets administrators scan local and remote systems for missing security updates and common security misconfigurations. 
  • Windows Server Update Services (WSUS), Systems Management Server (SMS), and System Center Configuration Manager (SCCM) help administrators distribute security updates. 
  • The Update Compatibility Evaluator components included with Application Compatibility Toolkit aid in streamlining the testing and validation of Windows updates against installed applications. 

For more information about these tools and guidance in deploying security updates across networks, see Security Tools for IT Pros.

Security Update Deployment

Affected Software

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

Antimalware Client update

Prerequisites

This security update requires that you have one of the following antimalware programs installed:

  • Windows Defender for Windows 8 and Windows RT

Installing the Update

Administrators of enterprise antimalware deployments should ensure that their update management software is configured to automatically approve and distribute Microsoft Antimalware Client, Microsoft Malware Protection Engine, and definition updates.

For enterprise deployments as well as end users, typically the update is downloaded and installed via update management software or automatic updating.

End users can also manually update their antimalware client software by checking for updates using the Microsoft Update or the Windows Update service depending on the operating system and antimalware software. Refer to the following table for details:

Software Update Mechanism
Windows Defender for Windows 8 and Windows RT Windows Update

The update packages for Windows Defender for Windows 8 are also available from the Microsoft Download Center. See Microsoft Knowledge Base Article 2781197 for download links.

Verifying Update Installation

You can verify that this update has been installed by verifying the version number for the Microsoft Antimalware Client.

If your version of the Microsoft Antimalware Client is equal to 4.2.223.0, then the update has been installed.

Note If the version of the Microsoft Antimalware Client is equal to or greater than version 4.2.223.0, then the antimalware program is not affected by the vulnerability and you do not need to take any further action.

For more information on how to verify the client version number that your software is currently using, see the section, "Verifying Update Installation", in Microsoft Knowledge Base Article 2510781.

Restart Requirement

Yes, you must restart your system after you apply this security update.

Removing the Update

Click Control Panel, click System and Security, click Windows Update, and then under See also, click Installed updates and select from the list of updates.

Other Information

Acknowledgments

Microsoft thanks the following for working with us to help protect customers:

  • Bruce Monroe of Intel for reporting the Microsoft Antimalware Improper Pathname Vulnerability (CVE-2013-0078)
  • Shai Sarfaty for reporting the Microsoft Antimalware Improper Pathname Vulnerability (CVE-2013-0078)
  • Tony Robotham of Centrica for reporting the Microsoft Antimalware Improper Pathname Vulnerability (CVE-2013-0078)

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 go to the active protections websites provided by program partners, listed in Microsoft Active Protections Program (MAPP) Partners.

Support

How to obtain help and support for this security update

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.

Revisions

  • V1.0 (April 9, 2013): Bulletin published.
  • V1.1 (April 16, 2013): Bulletin revised to announce a detection change in the 2781197 package to correct a reoffering issue. This is a detection change only. Customers who have already successfully updated their systems do not need to take any action.
  • V1.2 (October 8, 2013): Bulletin revised to announce a detection change in the 2781197 package. This is a detection change only. Customers who have already successfully updated their systems do not need to take any action.

Built at 2014-04-18T13:49:36Z-07:00