CVE DatabaseCVE-2022-31199
한국어 권고문 →
CVE-2022-311999.8/CRITICALCISA KEVCWE-502CWE-502

Netwrix Auditor Remote Code Execution (RCE) Vulnerability Advisory (CVE-2022-31199)

⚡ Jump to Patch
Affected Vendors
netwrix
Affected Components
auditor
Published Date
2022-11-08
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
36.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Netwrix Auditor server and User Activity Video Recording agents installed on monitored systems

Impact

Unauthenticated remote attackers can execute arbitrary code with 'NT AUTHORITY\SYSTEM' privileges on affected servers and monitored hosts

Mitigation

Immediately upgrade Netwrix Auditor to the latest secure version and restrict network access to agent communication ports

Affected Products & Version Scope

Netwrix Auditor versions prior to 10.5 (with User Activity Video Recording component enabled)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Download and apply the latest secure version (10.5 or higher) from the Netwrix Support Portal. To verify the currently installed version of Netwrix Auditor and its services via PowerShell, execute the following commands:

powershell
# Check installed Netwrix Auditor version and service status
Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like '*Netwrix*' } | Select-Object Name, Version
Get-Service -Name *Netwrix* | Select-Object Name, Status, StartType

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, restrict inbound network access to the Netwrix Auditor and Video Recording agent ports using Windows Defender Firewall. Only allow trusted administrative subnets or specific server IPs to communicate with these ports:

powershell
# Block unauthorized inbound traffic to the Netwrix Agent port (e.g., TCP 9004)
New-NetFirewallRule -DisplayName 'Block Unauthorized Netwrix Agent Access' `
    -Direction Inbound `
    -Action Block `
    -Protocol TCP `
    -LocalPort 9004

# Restrict access to a trusted management subnet only
Set-NetFirewallRule -DisplayName 'Block Unauthorized Netwrix Agent Access' `
    -RemoteAddress '192.168.10.0/24' `
    -Action Allow

3. Log Audit & IoC Verification Commands

Monitor Windows Event Logs and process creation events for anomalous child processes spawned by Netwrix services (e.g., Netwrix.UAV.Agent.exe spawning cmd.exe or powershell.exe). Use the following PowerShell script to audit process lineage:

powershell
# Audit suspicious child processes spawned by Netwrix services
Get-CimInstance Win32_Process | Where-Object {
    $_.ParentProcessId -in (Get-Process -Name *Netwrix* -ErrorAction SilentlyContinue).Id
} | Select-Object ProcessId, Name, CommandLine, CreationDate | Format-Table -AutoSize
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild (CISA KEV) and high EPSS score, immediately upgrade Netwrix Auditor to the latest secure release and restrict agent port exposure.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2022-31199) is a critical remote code execution (RCE) flaw in the 'User Activity Video Recording' component of Netwrix Auditor. The root cause lies in the insecure deserialization of untrusted data (CWE-502) within the underlying communication protocol used between the Netwrix Auditor server and its agents. Due to a lack of strict input validation and safe deserialization controls, the application attempts to deserialize arbitrary object streams sent by remote entities, leading to code execution.

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability by establishing a direct TCP connection to the listening port of the Netwrix Auditor server or agent. By sending a specially crafted serialized .NET payload containing malicious gadget chains (such as ObjectDataProvider), the attacker triggers the deserialization process on the target system. Since this process runs automatically upon receiving the payload without requiring any authentication or user interaction, it allows reliable, unauthenticated remote code execution.

3. Infrastructure & Business Impact

Netwrix Auditor is heavily integrated into enterprise environments to monitor Active Directory, file servers, and databases. Successful exploitation grants the attacker 'NT AUTHORITY\SYSTEM' privileges—the highest level of access on Windows systems. This allows attackers to compromise domain controllers, deploy ransomware, and exfiltrate sensitive corporate data. Given its inclusion in the CISA KEV catalog, active exploitation in the wild has been confirmed, making this a high-priority threat to enterprise infrastructure.

Official Vendor Advisories & References

NVD Original English Description

Remote code execution vulnerabilities exist in the Netwrix Auditor User Activity Video Recording component affecting both the Netwrix Auditor server and agents installed on monitored systems. The remote code execution vulnerabilities exist within the underlying protocol used by the component, and potentially allow an unauthenticated remote attacker to execute arbitrary code as the NT AUTHORITY\SYSTEM user on affected systems, including on systems Netwrix Auditor monitors.

Frequently Asked SecOps Questions (CVE-2022-31199)

FAQ

Q1. How critical is CVE-2022-31199 and is it actively exploited in the wild?

CVE-2022-31199 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 36.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2022-31199?

Primary impacted vendors include netwrix across auditor. Scope summary: Netwrix Auditor versions prior to 10.5 (with User Activity Video Recording component enabled)

Q3. What temporary mitigations or workarounds exist for CVE-2022-31199 before patching?

[Mitigation] Immediately upgrade Netwrix Auditor to the latest secure version and restrict network access to agent communication ports Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2022-31199

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (netwrix)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2022-31199 Netwrix Auditor Remote Code Execution (RCE) Vulnerability Advisory (CVE-2022-31199) (CVSS 9.8) - Patch & Workaround | CVE Pulse