Skip to content
Memory corruption Advisory Advanced CVE-2021-28315

Windows Media Video Decoder Remote Code Execution Vulnerability (CVE-2021-28315)

A specially crafted media file could trigger a memory corruption flaw in the Windows Media Video decoder, allowing an attacker to run code on the victim's machine. The attacker must convince the user to open the crafted file, for example by hosting it on a website and luring them to click a link.

Yangkang Follow

Originally disclosed on Microsoft

Critical 7.8 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) that contains a specially crafted file that is designed to exploit the vulnerability. However, an attacker would have no way to force the user to visit the website. Instead, an attacker would have to convince the user to click a link, typically by way of an enticement in an email or Instant Messenger message, and then convince the user to open the specially crafted file.

Windows Media Player

Windows Media Player

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by yangkang( @dnpushme ). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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-safety flaw in how the Windows Media Video decoder processes specially crafted files, though the text does not describe the specific coding mistake.

Impact

An attacker could run code on the victim's machine, but only if the user is persuaded to open the crafted file, since the attacker cannot force them to do so.

What the attacker needed

Victim opens a crafted media file; attacker hosts or plants the file; user is lured via email or chat

How it was found

  1. Host or place a specially crafted media file on a website the attacker controls or a site that accepts user content.
  2. Send the victim a link to that file, typically through email or an instant messenger message.
  3. Convince the victim to open the specially crafted file, which triggers the vulnerability.

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 media player has to decode video files, and a bug in that decoding step can let a bad file take over the program. Here the attacker makes a file that breaks the decoder's memory handling, so opening it can run the attacker's code. The catch is the victim has to be tricked into opening the file, usually through a link in an email or chat message.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.