Azure DevOps Server Cross-site Scripting Vulnerability (CVE-2019-0874)
Azure DevOps Server failed to properly sanitise user-provided input, allowing an authenticated attacker to send a crafted payload that executes in a victim's browser when they visit the compromised page. This could let the attacker read unauthorised content, run malicious code, and act as the victim, including changing permissions and deleting content.
Originally disclosed on Microsoft
Description
A Cross-site Scripting (XSS) vulnerability exists when Azure DevOps Server does not properly sanitize user provided input. An authenticated attacker could exploit the vulnerability by sending a specially crafted payload to the Team Foundation Server, which will get executed in the context of the user every time a user visits the compromised page. 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. The attacks could allow the attacker to read content that the attacker is not authorized to read, execute malicious code, and use the victim's identity to take actions on the site on behalf of the user, such as change permissions and delete content. The security update addresses the vulnerability by ensuring that Azure DevOps Server sanitizes user inputs.
Team Foundation Server
Team Foundation Server
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 application did not properly sanitise user-provided input before including it in pages, allowing script to be stored and executed in other users' browsers.
Impact
An authenticated attacker could run script in a victim's security context, potentially reading unauthorised content, executing malicious code, and using the victim's identity to change permissions or delete content.
What the attacker needed
Authenticated attacker; victim visits the compromised page
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 displays user-supplied text without cleaning it first, so an attacker can sneak in instructions that the browser treats as code. Here, someone with a login could plant such instructions in Azure DevOps Server, and when another user opened the affected page, the code ran as if it came from the site. That let the attacker read things the victim could see and perform actions as the victim.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.