Skip to content
RCE Advisory Advanced CVE-2020-16875

Microsoft Exchange Server Remote Code Execution Vulnerability (CVE-2020-16875)

Microsoft Exchange Server failed to properly validate arguments passed to a cmdlet, allowing an authenticated user with a specific Exchange role to run arbitrary code as the System user. The security update corrects how Exchange handles those cmdlet arguments.

Steven Seeley Follow

Originally disclosed on Microsoft

Critical 8.4 View original

Description

A remote code execution vulnerability exists in Microsoft Exchange server due to improper validation of cmdlet arguments. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the System user. Exploitation of the vulnerability requires an authenticated user in a certain Exchange role to be compromised. The security update addresses the vulnerability by correcting how Microsoft Exchange handles cmdlet arguments.

Microsoft Exchange Server

Microsoft Exchange Server

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Steven Seeley (mr_me) of Source Incite. 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 validation of arguments supplied to an Exchange cmdlet, allowing crafted input to be executed as code.

Impact

An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the System user, but exploitation requires an authenticated user in a certain Exchange role to be compromised.

What the attacker needed

Authenticated user in a certain Exchange role

The fix

The vulnerability was fixed by a security update that corrects how Microsoft Exchange handles cmdlet arguments.

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.

A cmdlet is a small command used to manage Microsoft Exchange, the email server software. Because the server did not check the arguments given to one of these commands properly, someone with a valid account in a particular role could make the server run their own code. That code would run with high system privileges, which is serious.

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 Steven Seeley

View all

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