Skip to content
RCE Advisory Advanced CVE-2023-21553

Azure DevOps Server Remote Code Execution Vulnerability (CVE-2023-21553)

An authenticated user with only Run access to a pipeline could trigger malicious code in the context of the server's account, because the appropriate variable had to be used in the pipeline for the attack to succeed. Not every pipeline was vulnerable, and owning an affected domain alone was not enough.

Legit Security (LinkedIn) with Legit Security Follow

Originally disclosed on Microsoft

High 7.5 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does this mean for this vulnerability? Owning an affected domain is not enough to run the attack. For a successful attacker the appropriate variable must be used in the pipeline, and not every pipeline is vulnerable.

FAQ

According to the CVSS metric, the attack vector is network (AV:N), user interaction is none (UI:N), and privilege required is low (PR:L). What is the target used in the context of the remote code execution? The attacker for this vulnerability could target the server accounts in an arbitrary or remote code execution. As an authenticated user, the attacker could attempt to trigger malicious code in the context of the server's account through a network call. The privilege requirement is low because the attack needs to have only Run access to the pipeline. Azure DevOps server is not bound to any network stack or protocol. Communication is on the TCP/IP level and this allows to communicate over the Internet.

Azure DevOps

Azure DevOps

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Legit Security (LinkedIn) with Legit Security. 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 a pipeline variable was handled in a way that let a low-privileged user influence code executed in the server's context.

Impact

An authenticated user with Run access could potentially execute code as the server account, though only pipelines using the right variable were affected.

What the attacker needed

Authenticated account; Run access to a pipeline; pipeline uses the right variable

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.

Azure DevOps is a service teams use to build and ship software automatically. A pipeline is a set of automated steps that runs code on a server. Here, someone with limited permission to start a pipeline could make that server run their own code, which is dangerous because the server may hold secrets and trust.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.