Azure Network Watcher Agent Security Feature Bypass Vulnerability (CVE-2022-44699)
A user who could run commands on a Linux virtual machine hosting the Azure Network Watcher extension could stop an in-progress packet capture started through Network Watcher. This could cause loss of the captured network data and reduce diagnostic and troubleshooting 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
How could an attacker exploit this vulnerability? An attacker with permissions to perform Run Commands on Linux VMs hosting the Azure Network Watcher VM extension could terminate the ongoing Packet Capture created via Network Watcher. This could result in the loss of the on-going network packet capture data and limit troubleshooting and diagnostic capabilities.
FAQ
What is Network Watcher Agent? Azure Network Watcher Agent is a virtual machine (VM) extension required for capturing network traffic on demand and using other advanced monitoring and diagnostics capabilities such as Connection Monitor, Connection Troubleshoot and Packet Capture. For Windows VM, please refer to: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/network-watcher-windows For Linux VM, please refer to: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/network-watcher-linux
FAQ
How do I know if I am affected by this vulnerability? Only customers running a Linux VM that has the Azure Network Watcher VM extension installed are susceptible to this vulnerability.
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 Network Watcher agent did not properly restrict who could stop an active packet capture, so a user with Run Command permission on the VM could end it.
Impact
An attacker could stop an ongoing packet capture, causing loss of the captured data and limiting troubleshooting and diagnostic capabilities; only Linux VMs with the Network Watcher extension installed are affected.
What the attacker needed
Linux VM with Network Watcher extension; permission to run commands on the VM
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.
Network Watcher is an Azure tool that records network traffic on a virtual machine so administrators can diagnose problems. This report says someone who can already run commands on that machine could stop a recording that was in progress, so the captured data would be lost. It is a bypass of a security feature rather than a way to break into a system.
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.