Skip to content
RCE Advisory Intermediate CVE-2018-8260

.NET Framework Remote Code Execution Vulnerability (CVE-2018-8260)

A remote code execution vulnerability exists in .NET Framework when it fails to check the source markup of a file. An attacker could exploit this by convincing a user to open a specially crafted file, potentially running arbitrary code with the user's privileges.

Soroush Dalili Follow

Originally disclosed on Microsoft

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.

FAQ

Are there any other .NET updates pertaining to this CVE that I should be aware of? Yes. To further address this vulnerability, for Windows 10 version 1709 and earlier, customers running .NET Framework 4.7.2 will receive an additional fix through Windows Update. Alternatively, you can download the additional fix via the .NET Framework 4.7.2 Web Installer by following this link: http://go.microsoft.com/fwlink/?LinkId=863262 . Follow the instructions in the message box to download or save the update.

.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 .NET Framework does not properly validate the source markup of a file, allowing malicious markup to be processed as executable code.

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, install programs, view or change data, or create new accounts.

What the attacker needed

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

The fix

The vulnerability was fixed by a security update that corrects 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 security flaw in Microsoft's .NET Framework, a software platform used to run many Windows applications. The problem is that .NET does not properly check the contents of certain files, so a malicious file could run harmful code on your computer if you open it. The attacker needs you 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

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.