Skip to content
XSS Advisory Beginner CVE-2024-21395

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

A cross-site scripting flaw existed in Microsoft Dynamics 365 on-premises, where a crafted URL could cause script to run in a victim's browser. An attacker who got a user to click such a link could modify the content of the vulnerable link to redirect the victim to a malicious site.

Erik Donker Follow

Originally disclosed on Microsoft

High 8.2 View original

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, 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, 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.

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Erik Donker. 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 user-supplied input in a URL, allowing script to be reflected into the page.

Impact

Successful exploitation could lead to some loss of integrity, with the attacker only able to modify the content of the vulnerable link to redirect the victim to a malicious site; the malicious scripts execute in the victim's browser, not on the server.

What the attacker needed

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.

Cross-site scripting (XSS) is when a website lets an attacker slip their own code into a page, so it runs in a visitor's browser. Here the attacker had to trick someone into clicking a specially made link. If the person clicked it, the attacker's code could run on that person's machine and change where the link sent 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 by Erik Donker

View all

5 more disclosed reports, 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.