Skip to content
XSS Advisory Intermediate CVE-2024-21419

Microsoft Dynamics 365 (on-premises) Cross-site Scripting Vulnerability (CVE-2024-21419)

A cross-site scripting flaw existed in the on-premises Microsoft Dynamics 365 web server. An authorised attacker with read/write privileges could send a crafted email or link and convince a victim to open it, allowing scripts to run in the victim's browser and the link content to be altered to redirect them to a malicious site.

Lim Wei Jian Follow

Originally disclosed on Microsoft

High 7.6 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required is Low (PR:L). What does that mean for this vulnerability? An authorized attacker with read/write privileges must send a victim a malicious email, or share the link to a malicious email, and convince them to open it.

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.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Lim Wei Jian. 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 web server failed to properly neutralise attacker-supplied content in an email or link, allowing script to run in the victim's browser.

Impact

Exploitation could lead to a scope change and some loss of integrity, with the attacker only able to modify the vulnerable link's content to redirect the victim to a malicious site.

What the attacker needed

Authorised account with read/write privileges; victim opens a malicious email or link

How it was found

  1. An authorised attacker with read/write privileges creates a malicious email or link.
  2. The attacker sends the email or shares the link with the victim.
  3. The attacker convinces the victim to open it.
  4. Scripts then execute in the victim's browser and the link content can be changed to redirect them.

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 can be tricked into running code written by an attacker inside someone else's browser. Here the attacker needs an account with some write access, then has to persuade a person to open a specially crafted email or link. If the person does, the attacker's script runs on their machine and can change where the link sends them.

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.