Windows Media Player is a video and audio file player for Windows based systems. It supports multiple file formats and allows playing files from either the local filesystem or the network. More information can be at:
Remote exploitation of a memory corruption vulnerability in Microsoft Corp.'s Windows Media Player could allow an attacker to execute arbitrary code with the privileges of the current user.
Microsoft Digital Video Recording (DVR-MS) is a proprietary video and audio file container format which can be used with Windows Media Player. A vulnerability exists in the Windows Media Player XDS Codec filter during the processing of a specially crafted DVR-MS file. If a large length value is supplied within a certain chunk of a DVR-MS file, a heap allocation for the chunk data can fail and the return value of the allocation routine will not be checked for an error. A pointer value is calculated using the return value and the supplied length value. This condition can allow an attacker to write two null bytes to an arbitrary location in memory and this may result in the execution of arbitrary code.
Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the user viewing the Web page or opening the DVR-MS file. Since Windows Media Player supported files can be embedded into Web pages, this vulnerability can be exploited as a typical browser vulnerability. To exploit this vulnerability, a targeted user must load a malicious Web page that an attacker created. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. After the user visits the malicious Web page, no further user interaction is needed.
The following Microsoft products are vulnerable:
It is possible to use Windows ACLs to block access to the vulnerable library. To prevent this library from loading, use the calcs program included with Windows:
cacls "%windir%system32encdec.dll" /E /P everyone:N
This will prevent Windows Media Player from loading this library. To undo this workaround, use the following command:
cacls "%windir%system32encdec.dll" /E /Reveryone
Microsoft has released updates to address this vulnerability. For more information, consult their advisory at the following URL.
The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2011-3401 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.
08/24/2011 Initial Vendor Notification
08/24/2011 Initial Vendor Reply
12/13/2011 Coordinated Public Disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
Copyright © 2011 Verisign, Inc.
Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.
Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.