Microsoft Dynamics NAV Cross Site Scripting Vulnerability (CVE-2018-8651)
Microsoft Dynamics NAV did not properly sanitise a specially crafted web request, allowing an authenticated attacker to perform cross-site scripting. The attacker could run script in the security context of the current user, read unauthorised content, and take actions such as changing permissions or deleting content.
Originally disclosed on Microsoft
Description
A cross site scripting vulnerability exists when Microsoft Dynamics NAV does not properly sanitize a specially crafted web request to an affected Dynamics NAV server. An authenticated attacker could exploit the vulnerability by sending a specially crafted request to an affected Dynamics NAV server. The attacker who successfully exploited the vulnerability could then perform cross-site scripting attacks on affected systems and run script in the security context of the current user. These attacks could allow the attacker to read content that the attacker is not authorized to read, use the victim's identity to take actions within Dynamics NAV Server on behalf of the user, such as change permissions and delete content, and inject malicious content in the browser of the user. The security update addresses the vulnerability by helping to ensure that Dynamics NAV Server properly sanitizes web requests.
Microsoft Dynamics
Microsoft Dynamics
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 server failed to sanitise user-supplied input in a web request before reflecting it back to the browser.
Impact
An authenticated attacker could run script in the victim's browser, read content they are not authorised to read, and use the victim's identity to change permissions or delete content.
What the attacker needed
Authenticated Dynamics NAV account; victim interacts with crafted request
The fix
The vulnerability was fixed by a security update that ensures Dynamics NAV Server properly sanitises web requests.
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 accepts input from a user and later shows it back without cleaning it, so an attacker can sneak in their own script. Here, the Dynamics NAV server failed to clean a crafted web request, so an authenticated attacker could make the server run their script in another user's browser. That script could then act as the victim, for example reading data or changing settings.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.