Skip to content
XSS Advisory Beginner CVE-2019-0743

Team Foundation Server Cross-site Scripting Vulnerability (CVE-2019-0743)

Team Foundation Server did not properly sanitise user-provided input, allowing an authenticated attacker to send a crafted payload that executes in the context of any user who visits 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.

Terry Zhang @ Tophant Follow

Originally disclosed on Microsoft

Description

A Cross-site Scripting (XSS) vulnerability exists when Team Foundation 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 Team Foundation Server sanitizes user inputs.

Team Foundation Server

Team Foundation Server

The original report as published on the Microsoft Security Response Center, by Terry Zhang( pnig0s ) @ Tophant. 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 application failed to sanitise or encode user-supplied input before including it in a page, so script content was stored and later executed in victims' browsers.

Impact

An authenticated attacker could read content they are not authorised to read, execute malicious code, and use the victim's identity to change permissions and delete content.

What the attacker needed

Authenticated attacker account; 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 is when a website shows something a user typed without cleaning it first, so an attacker can sneak in instructions that the browser runs as if the site itself wrote them. Here, someone with a login could plant such instructions, and anyone who later opened that page would run them without knowing. That lets the attacker do things on the site as the victim, like reading private content 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.

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.