Skip to content
RCE Advisory Advanced CVE-2018-8540

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

The .NET Framework failed to properly validate input, allowing an attacker to pass specific input to an application using susceptible .NET methods. This could lead to remote code execution, letting the attacker take control of the affected system.

Peter Stöckli Follow

Originally disclosed on Microsoft

Critical View original

Description

A remote code execution vulnerability exists when the Microsoft .NET Framework fails to validate input properly. An attacker who successfully exploited this vulnerability could take control of an 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. To exploit the vulnerability, an attacker would need to pass specific input to an application utilizing susceptible .Net methods. The security update addresses the vulnerability by correcting how the Microsoft .NET Framework validates input.

.NET Framework

.NET Framework

The original report as published on the Microsoft Security Response Center, by Peter Stöckli of Alphabot Security, Switzerland. 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 improper input validation in certain .NET Framework methods, which allows crafted input to be executed as code.

Impact

An attacker could take control of the affected system, install programs, view, change, or delete data, or create new accounts with full user rights; users with fewer rights could be less impacted.

What the attacker needed

Attacker can pass input to a susceptible .NET application

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 a Microsoft programming framework called .NET. Because it did not check some input carefully, an attacker could send malicious input to a program built with it and run their own code on the machine. That could let them take over the system.

What is RCE?

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

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.