Skip to content
CSRF Advisory Intermediate CVE-2019-0996

Azure DevOps Server Spoofing Vulnerability (CVE-2019-0996)

Azure DevOps Server improperly handled requests to authorise applications, resulting in a cross-site request forgery. An attacker could bypass OAuth protections and register an application on behalf of a targeted user.

Terry Zhang Follow

Originally disclosed on Microsoft

Description

A spoofing vulnerability exists in Azure DevOps Server when it improperly handles requests to authorize applications, resulting in a cross-site request forgery. An attacker who successfully exploited this vulnerability could bypass OAuth protections and register an application on behalf of the targeted user. To exploit this vulnerability, an attacker would need to create a page specifically designed to cause a cross-site request. The attacker would then need to convince a targeted user to click a link to the malicious page. The update addresses the vulnerability by modifying how Azure DevOps Server protects application registration requests.

Team Foundation Server

Team Foundation Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Terry Zhang ( @pnig0s ) of 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 registration endpoint lacked a proper anti-CSRF check, so it accepted requests triggered from another site.

Impact

An attacker could bypass OAuth protections and register an application on behalf of the targeted user, but the victim must be logged in and click the attacker's link.

What the attacker needed

Victim is logged in to Azure DevOps Server; victim clicks a link to the attacker's page

How it was found

  1. Create a page designed to cause a cross-site request.
  2. Convince a targeted user to click a link to the malicious 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.

This is a cross-site request forgery (CSRF) bug: a malicious website can make a logged-in user's browser send a request to Azure DevOps Server without the user meaning to. Because the server did not properly check that the request came from its own pages, an attacker could register an application in the victim's name, bypassing the normal OAuth permission step.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

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 request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.