Skip to content
XSS Advisory Intermediate CVE-2020-16864

Microsoft Dynamics 365 (On-Premise) Cross Site Scripting Vulnerability (CVE-2020-16864)

Microsoft Dynamics 365 (on-premises) failed to properly sanitise a specially crafted web request, leaving it open to cross-site scripting. An authenticated attacker could send such a request and run script in the security context of the current authenticated user, reading content they are not authorised to read or acting as the victim.

Pham Van Khanh Follow

Originally disclosed on Microsoft

High 5.4 View original

Description

A cross site scripting vulnerability exists when Microsoft Dynamics 365 (on-premises) does not properly sanitize a specially crafted web request to an affected Dynamics server. An authenticated attacker could exploit the vulnerability by sending a specially crafted request to an affected Dynamics server. The attacker who successfully exploited the vulnerability could then perform cross-site scripting attacks on affected systems and run script in the security context of the current authenticated user. These attacks could allow the attacker to read content that the attacker is not authorized to read, use the victim's identity to take actions within Dynamics Server on behalf of the user, such as change permissions and delete content, and inject malicious content in the browser of the user. The security update addresses the vulnerability by helping to ensure that Dynamics Server properly sanitizes web requests.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Pham Van Khanh from Viettel Cyber Security. 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 sanitise a crafted web request before reflecting or storing it in a page, allowing script to run in the victim's session.

Impact

An attacker could read content they are not authorised to read, act as the victim within Dynamics Server (for example changing permissions or deleting content), and inject malicious content into the user's browser.

What the attacker needed

An authenticated Dynamics account; victim interacts with crafted request

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.

Cross-site scripting means a website accepts some input and later shows it back in a page without cleaning it, so an attacker can slip in their own script. That script then runs in the browser of whoever views the page, as if the site itself had written it. Here the attacker needs an account on the Dynamics server first, and then tricks a logged-in user into triggering the crafted request.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Pham Van Khanh

View all

1 more disclosed report, 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.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.