Skip to content
XSS Advisory Beginner CVE-2023-35335

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

A cross-site scripting flaw existed in the on-premises version of Microsoft Dynamics 365. An attacker could trick a user into clicking a crafted URL, which could let the attacker retrieve cookies or show a fake credential prompt.

Erik Donker Follow

Originally disclosed on Microsoft

High 8.2 View original

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.

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

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 application did not properly sanitise or encode user-supplied input before reflecting it in a page, allowing script to run in the victim's browser.

Impact

An attacker could retrieve cookies or present a fake credential dialog, and could modify the vulnerable link to redirect the victim to a malicious site.

What the attacker needed

Victim clicks a crafted URL

How it was found

  1. Craft a URL containing malicious script.
  2. Send the URL to a victim.
  3. The victim clicks the URL.
  4. The script runs in the victim's browser, potentially stealing cookies or showing a credential prompt.

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 made to run harmful code in a visitor's browser. Here, a specially crafted link could make the Dynamics page show a popup that steals cookies (small files that keep you logged in) or asks for your password. The user has to click the link for this to work.

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.