Azure Network Watcher VM Agent Elevation of Privilege Vulnerability (CVE-2023-36737)
The Azure Network Watcher VM agent installation process could be interfered with by a user who had only Reader-level access to a virtual machine. Such an attacker could redirect packet captures to a location they control and delete files, limiting the victim's troubleshooting and diagnostic ability.
Originally disclosed on Microsoft
FAQ
What is Network Watcher? Azure Network Watcher provides tools to monitor, diagnose, view metrics, and enable or disable logs for resources in an Azure virtual network. Network Watcher is designed to monitor and repair the network health of IaaS (Infrastructure-as-a-Service) products including Virtual Machines (VM), Virtual Networks, Application Gateways, Load balancers, etc. For more details, please refer to: What is Azure Network Watcher? .
FAQ
What privileges would an attacker gain by successfully exploiting this vulnerability? An attacker who successfully exploited this vulnerability could route Packet Captures to a location in their control and perform file deletions that would limit the victim's troubleshooting and diagnostic capabilities.
FAQ
According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? An attacker must have access to the target virtual machine as an RBAC user with Reader role permissions or above.
FAQ
According to the CVSS metric, the attack vector is local (AV:L). What does this mean for this vulnerability? To successfully exploit this vulnerability, an attacker would need access to the virtual machine to be able to interfere with the Network Watcher Agent installation process.
FAQ
Is there any action Azure customers need to take? Azure customers who have enabled auto updates are mitigated automatically by the update deployed across Azure and do not need to take any action. Customers without auto updates enabled must re-install the NetworkWatcher Extension on their virtual machines to mitigate the risks of this vulnerability. These customers will receive additional messaging through the Azure Portal via Azure Service Health with further guidance.
Azure
Azure
Microsoft
Microsoft
Customer Action Required
Yes
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 agent installation process did not properly protect its files or configuration from a low-privileged local user.
Impact
An attacker with low privileges on the VM could redirect packet captures to a location they control and delete files, reducing the victim's ability to troubleshoot; the text does not describe a working exploit.
What the attacker needed
Access to the target VM; Reader role or above on the VM
The fix
The update was deployed across Azure, and customers with auto updates were mitigated automatically; those without auto updates had to re-install the Network Watcher extension.
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 virtual machines can run a small helper program called the Network Watcher agent, which collects network diagnostics. The way this agent was installed could be tampered with by someone who had only read-level access to the machine, rather than full control. That person could then send the captured network data somewhere they chose and remove diagnostic files.
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.