Skip to content
RCE Advisory Advanced CVE-2019-1229

Dynamics On-Premise Elevation of Privilege Vulnerability (CVE-2019-1229)

A user with permission to author custom business rules in Dynamics On-Premise could persist XAML script that was interpreted as code, allowing them to take control of the Web Role hosting the installation. The update restricts XAML activities to a whitelisted set.

Soroush Dalili Follow

Originally disclosed on Microsoft

Description

An elevation of privilege vulnerability exists in Dynamics On-Premise v9. An attacker who successfully exploited the vulnerability could leverage a customizer privilege within Dynamics to gain control of the Web Role hosting the Dynamics installation. To exploit this vulnerability, an attacker needs to have credentials for a user that has permission to author customized business rules in Dynamics, and persist XAML script in a way that causes it to be interpreted as code. The update addresses the vulnerability by restricting XAML activities to a whitelisted set.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Soroush Dalili ( @irsdl ) of NCC Group. 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

Impact

An attacker with credentials for a user allowed to author custom business rules could gain control of the Web Role hosting the Dynamics installation.

What the attacker needed

Credentials for a user who can author custom business rules

The fix

The vulnerability was fixed by restricting XAML activities to a whitelisted set.

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.

Dynamics lets certain users create custom business rules. Those rules can include a kind of script called XAML. The software ran that script as real code instead of treating it as data, so a user who was only meant to customise rules could run code on the server.

What is RCE?

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

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.