Microsoft Windows Codecs Library Remote Code Execution Vulnerability (CVE-2020-1319)
The Microsoft Windows Codecs Library mishandled objects in memory when processing a specially crafted image file, allowing an attacker to run code and take control of the affected system. Only customers who installed the optional VP9 Video Extension codec were exposed.
Description
A remote code execution vulnerability exists in the way that Microsoft Windows Codecs Library handles objects in memory. An attacker who successfully exploited this vulnerability could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Exploitation of the vulnerability requires that a program process a specially crafted image file. The update addresses the vulnerability by correcting how Microsoft Windows Codecs Library handles objects in memory.
FAQ
Is Windows vulnerable in the default configuration? Only customers who have installed the optional "VP9 Video Extension" media codec from Microsoft Store may be vulnerable. How do I get the updated Windows Media Codec? Affected customers will be automatically updated by Microsoft Store. Customers do not need to take any action to receive the update. Alternatively, customers who want to receive the update immediately can check for updates with the Microsoft Store App; more information on this process can be found here . Why are these security updates offered to affected clients via the Microsoft Store and not Windows Update? These updates are for optional apps/components that are offered to customers as a download via the Microsoft Store. Updates for optional store apps/components are provided via the Microsoft Store. My server is in a disconnected environment, is it vulnerable? AV1 is not available for offline distribution and not supported on Windows Server. Users should not have it installed in these environments. Enterprise customers using Store for Business will receive the update in the same manner as consumer Store. Why are these updates being offered outside of Update Tuesday? Servicing for store apps/components does not follow the monthly “Update Tuesday” cadence, but are offered whenever necessary. Are these updates for Microsoft store apps/components offered automatically when an affected component is on the system? Yes. However, it is possible to turn off automatic updating for store apps. In that scenario, these updates would not be installed automatically. How can I check from PowerShell if the update is installed? The following command will display the version of the installed package: Get-AppxPackage -Name Microsoft.VP9VideoExtension*
Microsoft Windows Codecs Library
Microsoft Windows Codecs Library
Microsoft
Microsoft
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a memory handling error in the codec library when it processes image data, which the update corrects.
Impact
An attacker who exploited it could take control of the system, install programs, view, change or delete data, or create accounts with full user rights, but only where the optional VP9 Video Extension was installed.
What the attacker needed
Optional VP9 Video Extension installed; a program processes a crafted image file
The fix
Microsoft fixed it by correcting how the library handles objects in memory, and the update is delivered automatically through the Microsoft Store.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A codec is a piece of software that lets a computer open and play media files such as video. This one had a memory handling mistake, so a booby-trapped image file could make the computer run the attacker's code. The flaw only affected people who had installed an optional extra codec from the Microsoft Store.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.