Skip to content
XSS Advisory Beginner CVE-2024-21389

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

A cross-site scripting flaw existed in the on-premises Microsoft Dynamics 365 web server. An authenticated attacker could craft a URL that, when clicked by a victim, would run malicious script in the victim's browser and redirect them to a malicious site.

batram Follow

Originally disclosed on Microsoft

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

Microsoft Dynamics

Microsoft Dynamics

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by batram. 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 before reflecting it in a page, allowing script to run in the victim's browser.

Impact

An authenticated attacker could run script in a victim's browser and redirect them to a malicious site, with limited integrity loss and a scope change from the server to the victim's browser.

What the attacker needed

Attacker has a low-privileged 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.

Cross-site scripting (XSS) is when a website lets an attacker slip their own code into a page that other people view. Here, a logged-in attacker could make a link that, when a victim clicks it, runs the attacker's code in the victim's browser. That code could change what the victim sees or send them to a harmful website.

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 batram

View all

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