Skip to content
RCE Advisory Advanced CVE-2020-16860

Microsoft Dynamics 365 (on-premises) Remote Code Execution Vulnerability (CVE-2020-16860)

Microsoft Dynamics 365 (on-premises) failed to properly sanitise web requests to an affected server. An authenticated attacker could send a specially crafted request to run arbitrary code in the context of the SQL service account.

Ashar Javed Follow

Originally disclosed on Microsoft

High 6.8 View original

Description

A remote code execution vulnerability exists in Microsoft Dynamics 365 (on-premises) when the server fails to properly sanitize web requests to an affected Dynamics server. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the SQL service account. An authenticated attacker could exploit this vulnerability by sending a specially crafted request to a vulnerable Dynamics server. The security update addresses the vulnerability by correcting how Microsoft Dynamics 365 (on-premises) validates and sanitizes user input.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Ashar Javed of Hyundai AutoEver Europe GmbH. 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 server did not properly validate and sanitise user input in web requests, allowing crafted input to reach a code execution path.

Impact

An authenticated attacker could run arbitrary code in the context of the SQL service account, potentially compromising the server and its data.

What the attacker needed

Authenticated access to Dynamics server

The fix

The security update addresses the vulnerability by correcting how Microsoft Dynamics 365 (on-premises) validates and sanitizes user input.

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 Dynamics 365, a business software server. The server did not check incoming web requests carefully enough, so a logged-in attacker could send a malicious request and make the server run their own code. That code would run with the permissions of the database service account, which is a powerful account.

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 Ashar Javed

View all

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