Azure DevOps Server and Team Foundation Services Elevation of Privilege Vulnerability (CVE-2020-0815)
Azure DevOps Server and Team Foundation Services mishandled pipeline job tokens, letting a user with project access swap a short-term token for a long-term one. This could extend an attacker's access within a project beyond what they were granted.
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
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 a short-term pipeline job token for a long-term one.
Impact
An attacker with existing project access could extend their access to that project by obtaining a longer-lived token.
What the attacker needed
Existing access to the project
The fix
It was fixed by correcting how the updater handles these tokens.
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.
Pipelines are automated build and release jobs that run with a token, a kind of digital pass, to prove what they are allowed to do. Here the server did not properly control these passes, so someone already inside a project could trade a pass that expires quickly for one that lasts much longer. That gave them more lasting access than they should have had.
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.