Skip to content
RCE Write-up Advanced

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

The Exchange Server's New-DlpPolicy cmdlet fails to properly validate user-supplied template data, allowing an authenticated attacker with the Data Loss Prevention role to execute arbitrary code as SYSTEM.

srcincite.io

Published on srcincite.io

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exchange Server. Authentication with the “Data Loss Prevention” role is required to exploit this vulnerability.

The author, on srcincite.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated attacker with the Data Loss Prevention role could execute arbitrary code in the context of SYSTEM on the Exchange Server.

What the attacker needed

Authentication with Data Loss Prevention role

The fix

Microsoft issued an update to correct this vulnerability.

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 write-up has not been written yet. The Original tab links to the source.

This is a flaw in Microsoft Exchange Server, an email and collaboration server. An attacker who already has a specific administrative role (Data Loss Prevention) can send crafted input that the server does not check properly, and that input lets them run their own commands on the server with the highest system privileges.

What is RCE?

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

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.