Skip to content
RCE Advisory Intermediate CVE-2019-0613

.NET Framework and Visual Studio Remote Code Execution Vulnerability (CVE-2019-0613)

A remote code execution vulnerability exists in .NET Framework and Visual Studio when the software 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

Description

A remote code execution vulnerability exists in .NET Framework and Visual Studio 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 or Visual Studio. 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 and Visual Studio check the source markup of a file.

.NET Framework

.NET Framework

The original report as published on the Microsoft Security Response Center, by Soroush Dalili of NCC Group. 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 software fails to 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

The fix

The security update addresses the vulnerability by correcting how .NET Framework and Visual Studio check 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 security flaw in Microsoft's .NET Framework and Visual Studio. The software does not properly check the contents of certain files, so if a user opens a malicious file, an attacker could run their own code on the user's computer with the same permissions as that user.

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

6 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.