CVE DatabaseCVE-2021-41379
한국어 권고문 →
CVE-2021-413795.5/MEDIUMCISA KEVCWE-59CWE-59

Microsoft Windows Installer Elevation of Privilege Vulnerability (CVE-2021-41379) Technical Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2021-11-10
CVSS v3.1
5.5
MEDIUM
EPSS (30d)
19.4%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Windows operating systems, including Windows 7, 8.1, 10, 11, and Windows Server 2008, 2012, 2016, 2019, 2022

Impact

A local authenticated attacker can exploit improper link resolution in the Windows Installer service to delete or manipulate arbitrary files with SYSTEM privileges, potentially leading to full local privilege escalation

Mitigation

Apply the official cumulative security updates provided by Microsoft immediately, or restrict Windows Installer execution for non-administrative users as a temporary workaround

Affected Products & Version Scope

Most supported versions of Microsoft Windows and Windows Server, including Windows 10, 11, and Windows Server 2016/2019/2022, prior to the November 2021 security updates

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Deploy the latest cumulative security updates via Windows Update or Windows Server Update Services (WSUS). You can force the update process using the following PowerShell commands:

powershell
# Install and run Windows Update module to apply the latest security patches
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -Install -Category 'Security Updates' -AcceptAll -AutoReboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict the Windows Installer service for non-privileged users by modifying the registry to disable MSI execution:

powershell
# Restrict Windows Installer execution to administrators only via Registry
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableMSI' -Value 1 -PropertyType DWord -Force

3. Log Audit & IoC Verification Commands

Monitor the Application event log for MsiInstaller events (specifically Event IDs 1040 and 1042) to detect anomalous installer rollback activities or unauthorized installation attempts:

powershell
# Query Application logs for Windows Installer events to identify potential exploitation attempts
Get-WinEvent -FilterHashtable @{
    LogName='Application';
    ProviderName='MsiInstaller';
    Id=1040,1042
} -ErrorAction SilentlyContinue | Select-Object TimeCreated, Id, Message | Format-List
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
This vulnerability is actively exploited in the wild; immediately apply Microsoft's official cumulative security updates to secure your Windows endpoints and servers.

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-2021-41379) is an elevation of privilege vulnerability in the Windows Installer service, arising from improper handling of junction points and symbolic links during installation and rollback operations. Because the Windows Installer service runs with elevated privileges (NT AUTHORITY\SYSTEM), its failure to properly validate file paths and symbolic links in user-writable directories allows local attackers to manipulate arbitrary files on the system (CWE-59).

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first gain local access to the target system with standard user privileges. The attacker then executes a specially crafted Windows Installer (.msi) package designed to trigger a rollback operation. During this process, the attacker replaces the temporary directory paths used by the installer with symbolic links pointing to critical system files. When the installer attempts to clean up or modify these files, it performs the action on the target system files with SYSTEM privileges, allowing the attacker to bypass access controls and escalate privileges.

3. Infrastructure & Business Impact

As a vulnerability listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, CVE-2021-41379 has been actively exploited in the wild. In an enterprise environment, this vulnerability poses a severe threat as it can be utilized by lateral-movement threat actors to escalate privileges from a standard domain user to local SYSTEM on critical servers, leading to complete infrastructure compromise.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-41379)

FAQ

Q1. How critical is CVE-2021-41379 and is it actively exploited in the wild?

CVE-2021-41379 is rated CVSS 5.5 (MEDIUM) with a 30-day EPSS exploitation probability of 19.4%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2021-41379?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: Most supported versions of Microsoft Windows and Windows Server, including Windows 10, 11, and Windows Server 2016/2019/2022, prior to the November 2021 security updates

Q3. What temporary mitigations or workarounds exist for CVE-2021-41379 before patching?

[Mitigation] Apply the official cumulative security updates provided by Microsoft immediately, or restrict Windows Installer execution for non-administrative users as a temporary workaround 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-2021-41379

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-2021-41379 Microsoft Windows Installer Elevation of Privilege Vulnerability (CVE-2021-41379) Technical Analysis and Mitigation Guide (CVSS 5.5) - Patch & Workaround | CVE Pulse