Microsoft Dynamics 365 (On-Premise) Cross Site Scripting Vulnerability (CVE-2020-16871)
Microsoft Dynamics 365 (on-premises) did not properly sanitise a specially crafted web request, allowing an authenticated attacker to perform cross-site scripting. The attacker could run script in the security context of the current authenticated user, potentially reading unauthorised content, acting as the victim, and injecting malicious content.
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
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 failed to sanitise a crafted web request before reflecting or storing it in a page.
Impact
An authenticated attacker could run script in the victim's browser as the current user, potentially reading unauthorised content, changing permissions, deleting content, or injecting malicious content.
What the attacker needed
Authenticated attacker; crafted request to Dynamics server; victim views affected page
The fix
The vulnerability was fixed by a security update that ensures Dynamics Server properly sanitises 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 lets an attacker slip their own JavaScript into a page that other people view. Here, a logged-in attacker could send a crafted request to a Dynamics server, and the server would include the attacker's script in the response shown to a victim. That script then runs as the victim, so it can read or change things the victim is allowed to access.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.