# Source: https://docs.datadoghq.com/security/default_rules/def-000-d94.md

---
title: >-
  Publicly Accessible Azure VM instance has a privileged service account and a
  critical vulnerability
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Publicly Accessible Azure VM instance
  has a privileged service account and a critical vulnerability
---

# Publicly Accessible Azure VM instance has a privileged service account and a critical vulnerability

## Description{% #description %}

A privileged, publicly accessible Azure VM instance has one or more critical severity vulnerabilities.

A compromise of this VM could lead to potential abuse of the privileges associated with the VM, and could lead to unauthorized access to the account and other resources the VM has access to.

Unpatched vulnerabilities can expose system weaknesses and create an entry point for attackers to gain unauthorized access to the host. This can lead to data breaches, unauthorized modifications, or control of the underlining system.

## Remediation{% #remediation %}

1. Review any associated vulnerability references or advisories.
1. Review the level of access and privileges associated with the VM and scope them down to the minimum required.
1. Apply the appropriate patch based on remediation guidance. If no patch is available, apply compensating controls such as disabling or removal of the vulnerable component.
1. Assess whether this instance needs to be accessible from the internet. If not, restrict access to the instance.