Skip to content
Access control Advisory Intermediate CVE-2025-21199

Azure Agent Installer for Backup and Site Recovery Elevation of Privilege Vulnerability (CVE-2025-21199)

The Azure Agent Installer has improper privilege management, allowing an attacker with low privileges to plant a malicious file that, when an administrator installs the bootstrapping agent, leads to SYSTEM privileges. Exploitation requires the attacker to have access to the target file location and the administrator to perform the installation.

R4nger Follow

Originally disclosed on Microsoft

High 6.7 View original

Description

Improper privilege management in Azure Agent Installer allows an authorized attacker to elevate privileges locally.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Successful exploitation of this vulnerability requires an administrator to install the bootstrapping agent on the target device where an attacker has planted specially crafted malicious files.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to have access to the location where the target file will be run. They would then need to plant a specific file that would be used as part of the exploitation.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to take additional actions prior to exploitation to prepare the target environment.

FAQ

What are the fixed build numbers for the versions of Azure Site Recovery addressed in Update Rollup 76 for Azure Site Recovery? Component Name Version ASR V2A Agent (Classic VMware/Physical to Azure) 9.63.7233.1 ASR H2A Agent (Hyper-V or VMM to Azure) 5.1.8116.0 ASR Mars 2.0.9940.0 **Are there any any prerequisites for installing the update? To install Microsoft Azure Site Recovery Provider Update Rollup 76, you must have one of the following installed: Microsoft Azure Site Recovery Provider (version 5.23.x or a later version) Microsoft Azure Recovery Services Agent (version 2.0.9263.0 or a later version)

Azure Agent Installer

Azure Agent Installer

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by R4nger & Zhiniang Peng with HUST. 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 improper privilege management in the Azure Agent Installer allows a low-privileged attacker to plant a file that is executed with SYSTEM privileges during installation.

Impact

An attacker could gain SYSTEM privileges, but only if they can plant a file and an administrator installs the agent on that device.

What the attacker needed

Attacker has access to target file location; administrator installs bootstrapping agent

The fix

The vulnerability was fixed in Update Rollup 76 for Azure Site Recovery, with specific build numbers for each agent component.

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 flaw in how a Microsoft Azure backup tool handles permissions during installation. An attacker who can place a file in a certain folder could trick an administrator into running that file as part of a normal install, giving the attacker full control of the machine. The attacker needs some access already and the administrator must perform the install.

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.