Skip to content
RCE Advisory Intermediate CVE-2020-0606

.NET Framework Remote Code Execution Vulnerability (CVE-2020-0606)

A remote code execution vulnerability exists in .NET software when it fails to check the source markup of a file. An attacker could run arbitrary code in the context of the current user by convincing them to open a specially crafted file.

Soroush Dalili Follow

Originally disclosed on Microsoft

Critical View original

Description

A remote code execution vulnerability exists in .NET software when the software fails to check the source markup of a file. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker 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. 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. Exploitation of the vulnerability requires that a user open a specially crafted file with an affected version of .NET Framework. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. The security update addresses the vulnerability by correcting how .NET Framework checks the source markup of a file.

.NET Framework

.NET Framework

The original report as published on the Microsoft Security Response Center, by Soroush Dalili ( @irsdl ). 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 the .NET Framework does not properly validate the source markup of a file before processing it, allowing malicious markup to be executed as code.

Impact

An attacker could run arbitrary code in the context of the current user; if that user has administrative rights, the attacker could take control of the system, install programs, view, change, or delete data, or create new accounts with full user rights.

What the attacker needed

Victim opens a specially crafted file; affected version of .NET Framework

The fix

The security update addresses the vulnerability by correcting how .NET Framework checks the source markup of a file.

How it was found

  1. An attacker creates a specially crafted file.
  2. The attacker sends the file to the user, for example by email.
  3. The attacker convinces the user to open the file with an affected version of .NET Framework.

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.

This is a flaw in Microsoft's .NET Framework, a set of libraries used by many Windows programs. The software does not properly check the contents of a file before using it, so a malicious file can make the program run harmful code. The attacker needs the victim to open the file, for example by sending it as an email attachment.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Soroush Dalili

View all

3 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.