Skip to content
XSS Advisory Intermediate CVE-2018-8605

Microsoft Dynamics 365 (on-premises) version 8 Cross Site Scripting Vulnerability (CVE-2018-8605)

Microsoft Dynamics 365 (on-premises) version 8 failed to properly sanitise a specially crafted web request, allowing an authenticated attacker to perform cross-site scripting. The attacker could run script in the victim's security context, read unauthorised content, act as the victim within Dynamics, and inject malicious content into the victim's browser.

Manuel Sanchez Hernanz Follow

Originally disclosed on Microsoft

Description

A cross site scripting vulnerability exists when Microsoft Dynamics 365 (on-premises) version 8 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 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

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Manuel Sanchez Hernanz of CBRE Real Estate. 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 Dynamics server did not properly sanitise a specially crafted web request before reflecting or storing it in a response.

Impact

An authenticated attacker could run script in the victim's security context, potentially reading unauthorised content, changing permissions, deleting content, and injecting malicious content into the victim's browser.

What the attacker needed

Authenticated Dynamics account; victim interacts with crafted request

The fix

The security update addresses the vulnerability by helping to ensure that Dynamics Server properly sanitizes web requests.

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 (XSS) is when a website shows attacker-supplied code as if it were part of the page, so the victim's browser runs it. Here the Dynamics server did not clean up a crafted request, so an attacker with a valid account could make the server send back script that runs as the victim. That script could then read data or perform actions the victim is allowed to do.

What is XSS?

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

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.