Skip to content
XSS Advisory Intermediate CVE-2023-38164

Microsoft Dynamics 365 (on-premises) Cross-site Scripting Vulnerability (CVE-2023-38164)

A cross-site scripting vulnerability exists in Microsoft Dynamics 365 (on-premises) that allows an authenticated attacker to craft a URL which, when clicked by a victim, executes malicious scripts in the victim's browser. This could lead to cookie theft or credential harvesting.

Norwin Boniao Follow

Originally disclosed on Microsoft

High 7.6 View original

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? The user would have to click on a specially crafted URL to be compromised by the attacker.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? The vulnerability is in the web server, but the malicious scripts execute in the victim’s browser on their machine.

FAQ

According to the CVSS metric, successful exploitation of this vulnerability could lead to some loss of integrity (I:L)? What does that mean for this vulnerability? The attacker is only able to modify the content of the vulnerable link to redirect the victim to a malicious site.

FAQ

According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of confidentiality (C:H)? What does that mean for this vulnerability? There could be a loss of confidentiality if an unaware user clicked on a popup therefore creating an opportunity for an attacker to retrieve cookies or present the user with a dialog box to enter user credentials.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Norwin Boniao with https://twitter.com/norwin_boniao. 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 insufficient input sanitisation or output encoding in the web server allows script injection via a crafted URL.

Impact

An attacker could steal cookies or present a fake login dialog to capture credentials, but only if the victim clicks the crafted link.

What the attacker needed

Authenticated attacker account; victim clicks a crafted URL

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 cross-site scripting (XSS) bug. An attacker who already has a normal account can create a special link. If a victim clicks that link, harmful code runs in the victim's web browser, which might let the attacker steal the victim's session or trick them into entering their password.

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.