SRC-2021-0011 : Microsoft Exchange Server DlpUtils AddTenantDlpPolicy Remote Code Execution Vulnerability (patch bypass)

CVE ID: CVE-2021-26854

CVSS Score: 9.1, (/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C)

Affected Vendors: Microsoft

Affected Products: Microsoft Exchange Server

Vulnerability Details:

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 specific flaw exists within the processing of the New-DlpPolicy cmdlet. The issue results from the lack of proper validation of user-supplied template data when creating a dlp policy. An attacker can leverage this vulnerability to execute code in the context of SYSTEM.

Vendor Response:

Microsoft has issued an update to correct this vulnerability. More details can be found at: https://portal.msrc.microsoft.com/security-guidance/advisory/CVE-2021-26854

Disclosure Timeline:

  • 2020-12-09 – Sent to Microsoft

  • 2021-03-09 – Coordinated public release of advisory

Credit: This vulnerability was discovered by Steven Seeley (mr_me) of Qihoo 360 Vulcan Team