CVE DatabaseCVE-2022-26904
한국어 권고문 →
CVE-2022-269047.0/HIGHCISA KEVCWE-362CWE-362

Windows User Profile Service Elevation of Privilege Vulnerability (CVE-2022-26904) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2022-04-15
CVSS v3.1
7.0
HIGH
EPSS (30d)
17.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Most Windows operating system versions, including Windows 10, 11, and Windows Server 2008 through 2022

Impact

A locally authenticated attacker can exploit a race condition to execute arbitrary code with SYSTEM privileges, leading to complete system compromise

Mitigation

Immediately apply the official Microsoft cumulative security updates and restrict multi-user interactive logins on unpatched systems

Affected Products & Version Scope

Windows 10, Windows 11, and Windows Server 2012/2016/2019/2022. Exploitable by any local user with standard privileges.

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

To remediate this vulnerability, apply the latest cumulative security updates provided by Microsoft. You can force Windows Update via PowerShell as follows:

powershell
# Install Windows Update module and trigger updates
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, mitigate the risk by disabling Remote Desktop Services (RDS) and auditing local interactive login rights to prevent unauthorized local access:

powershell
# Stop and disable Remote Desktop Services (RDP)
Stop-Service -Name 'TermService' -Force
Set-Service -Name 'TermService' -StartupType Disabled

# Disable unnecessary local accounts (e.g., Guest)
Disable-LocalUser -Name 'Guest'

3. Log Audit & IoC Verification Commands

Verify the version of the User Profile Service binary and inspect the Windows Event Logs for anomalous profile creation activities:

powershell
# Check the file version of profsvc.dll
Get-ItemProperty -Path 'C:\Windows\System32\profsvc.dll' | Select-Object -ExpandProperty VersionInfo | Format-List

# Query Event Logs for User Profile Service warnings or errors
Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Microsoft-Windows-User Profiles Service'; Level=1,2,3} -MaxEvents 50 | Format-Table TimeCreated, Id, Message -AutoSize
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, prioritize the immediate deployment of Microsoft's official cumulative security updates.

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-26904) is an elevation of privilege (LPE) vulnerability in the Windows User Profile Service (ProfSvc). ProfSvc is responsible for loading and unloading user profiles during login/logout sequences. The root cause lies in a race condition (CWE-362) during the creation and initialization of temporary user profile directories, where the service fails to properly validate file system junctions and symbolic links.

2. Exploitation Mechanics & Attack Scenario

An attacker with low-privileged local access executes a malicious process designed to trigger the creation of a new user profile by ProfSvc. During the brief window between directory creation and permission assignment (Time-of-Check to Time-of-Use), the attacker replaces the target directory with a symbolic link pointing to a critical system file (e.g., a DLL or executable in SYSTEM32). ProfSvc, running under high-privileged SYSTEM context, then inadvertently modifies permissions or overwrites the target file, allowing the attacker to hijack execution flow and gain SYSTEM privileges.

3. Infrastructure & Business Impact

As a vulnerability listed in the CISA KEV catalog, CVE-2022-26904 has been actively exploited in the wild. In an enterprise Active Directory environment, this vulnerability serves as a highly reliable lateral movement and privilege escalation vector. Once an attacker gains initial access via phishing or credential stuffing, they can leverage this exploit to compromise domain controllers or critical application servers, leading to full domain takeover.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-26904)

FAQ

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

CVE-2022-26904 is rated CVSS 7.0 (HIGH) with a 30-day EPSS exploitation probability of 17.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-26904?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: Windows 10, Windows 11, and Windows Server 2012/2016/2019/2022. Exploitable by any local user with standard privileges.

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

[Mitigation] Immediately apply the official Microsoft cumulative security updates and restrict multi-user interactive logins on unpatched systems 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-26904

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

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

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-26904 Windows User Profile Service Elevation of Privilege Vulnerability (CVE-2022-26904) Analysis and Mitigation Guide (CVSS 7.0) - Patch & Workaround | CVE Pulse