Microsoft Dynamics 365 (on-premises) Remote Code Execution Vulnerability (CVE-2020-16862)
Microsoft Dynamics 365 (on-premises) failed to properly sanitise web requests, allowing an authenticated attacker to send a crafted request that could run arbitrary code as the SQL service account. The security update corrects how the server validates and sanitises user input.
Originally disclosed on Microsoft
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
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-supplied web requests before using them.
Impact
An authenticated attacker could run arbitrary code in the context of the SQL service account.
What the attacker needed
Authenticated access to Dynamics server
The fix
The vulnerability was fixed by correcting how Microsoft Dynamics 365 (on-premises) validates and sanitises 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 flaw in a business software server that did not clean up the data people sent to it. A logged-in user could send a specially made request that let them run their own commands on the server, with the same permissions as the database service. The vendor fixed it by making the server check and clean incoming data properly.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.