Skip to content
Access control Advisory Intermediate CVE-2020-0758

Azure DevOps Server and Team Foundation Services Elevation of Privilege Vulnerability (CVE-2020-0758)

Azure DevOps Server and Team Foundation Services improperly handled pipeline job tokens, allowing an attacker with project access to swap a short-term token for a long-term one. This could extend their access to the project.

Terry Zhang Follow

Originally disclosed on Microsoft

Description

An elevation of privilege vulnerability exists when Azure DevOps Server and Team Foundation Services improperly handle pipeline job tokens. An attacker who successfully exploited this vulnerability could extend their access to a project. To exploit this vulnerability, an attacker would first have to have access to the project and swap the short-term token for a long-term one. The update addresses the vulnerability by correcting how the Azure DevOps Server and Team Foundation Services updater handles these tokens.

Azure DevOps

Azure DevOps

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Terry Zhang (@pnig0s). 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 token updater did not properly validate or restrict the exchange of short-term pipeline job tokens for long-term tokens.

Impact

An attacker with existing project access could extend their access to the project by obtaining a long-term token.

What the attacker needed

Access to the project

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.

A token is like a temporary key that lets a program access a service. The system did not properly check how these keys were handled, so someone with a short-lived key could turn it into a long-lived one, giving them more access than intended.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.