Azure DevOps Server and Team Foundation Server Cross-site Scripting Vulnerability (CVE-2019-0979)
Azure DevOps Server and Team Foundation 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 affected page. The attacker could then read content they are not authorised to read, run malicious code, and act as the victim on the site.
Description
A Cross-site Scripting (XSS) vulnerability exists when Azure DevOps Server and Team Foundation Server do not properly sanitize user provided input. An authenticated attacker could exploit the vulnerability by sending a specially crafted payload to an Azure DevOps server or a 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 and Team Foundation Server properly sanitize 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 injected and executed in a victim's browser.
Impact
An authenticated attacker could run script in the security context of the current user, potentially reading content they are not authorised to read, 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
The fix
The security update addresses the vulnerability by ensuring that Azure DevOps Server and Team Foundation Server properly sanitise user inputs.
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 shows text from a user without cleaning it first, so the browser treats that text as code and runs it. Here, someone already logged in could plant such text on an Azure DevOps or Team Foundation Server page, and it would run in the browser of anyone who opened that page. That let the attacker read things and do things on the site as if they were 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.