Skip to content
RCE Advisory Intermediate CVE-2020-0605

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

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 if they convince a user 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.

Impact

An attacker could run arbitrary code in the context of the current user; if the user has administrative rights, the attacker could take control of the system.

What the attacker needed

User opens a specially crafted file; affected .NET Framework version

The fix

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

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 .NET Framework, a software platform made by Microsoft. The software does not properly check the contents of a file before opening it. If a victim opens a malicious file, the attacker can run their own code on the victim's computer, with the same permissions as the victim.

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.