CVE DatabaseCVE-2021-31201
한국어 권고문 →
CVE-2021-312015.2/MEDIUMCISA KEV

Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability (CVE-2021-31201) Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, enhanced cryptographic provider
Published Date
2021-06-08
CVSS v3.1
5.2
MEDIUM
EPSS (30d)
2.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Systems running Microsoft Windows operating systems utilizing the Enhanced Cryptographic Provider component

Impact

A local attacker can bypass security boundaries to elevate privileges and gain unauthorized system-level access

Mitigation

Apply the official Microsoft security updates immediately and restrict local execution privileges

Affected Products & Version Scope

Supported versions of Microsoft Windows and Windows Server containing the Enhanced Cryptographic Provider (refer to MS advisory for specific KB details)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the latest Cumulative Update (LCU) via Windows Update. You can use PowerShell to query and install the required security updates.

powershell
# Install PSWindowsUpdate module and force install the security update
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -KBArticleID 'KB5003173' -Install -AcceptAll -AutoReboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict unauthorized binary execution using AppLocker and enable strict auditing for sensitive privilege usage.

powershell
# Enable auditing for sensitive privilege use via command line
auditpol /set /subcategory:'Sensitive Privilege Use' /success:enable /failure:enable

3. Log Audit & IoC Verification Commands

Monitor the Windows Event Logs for anomalous activities or errors related to cryptographic providers.

powershell
# Query System Event Logs for Crypto-NCrypt provider warnings and errors
Get-WinEvent -FilterHashtable @{
    LogName='System'
    Level=1,2,3
    ProviderName='Microsoft-Windows-Crypto-NCrypt'
} -ErrorAction SilentlyContinue | Select-Object TimeCreated, Id, Message | 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), prioritize and deploy the latest Windows cumulative security patches immediately.

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 is an elevation of privilege (EoP) vulnerability existing within the Microsoft Enhanced Cryptographic Provider. The root cause lies in the improper handling of memory objects or system resources during cryptographic API calls, allowing a local attacker to bypass security boundaries and execute arbitrary code with elevated privileges.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first gain local access to the target system with low-privileged user credentials. The attacker then executes a specially crafted application designed to interact with the Windows Cryptographic Service Provider (CSP) APIs. By triggering memory corruption or improper handle validation, the attacker forces the system to execute arbitrary commands within the security context of a highly privileged process (such as SYSTEM).

3. Infrastructure & Business Impact

As this vulnerability is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, it represents a high-risk threat with confirmed active exploitation in the wild. Successful exploitation allows attackers to escalate privileges from a standard user to SYSTEM, enabling lateral movement, credential dumping, and full compromise of the affected infrastructure.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-31201)

FAQ

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

CVE-2021-31201 is rated CVSS 5.2 (MEDIUM) with a 30-day EPSS exploitation probability of 2.6%. 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-31201?

Primary impacted vendors include microsoft across windows, enhanced cryptographic provider. Scope summary: Supported versions of Microsoft Windows and Windows Server containing the Enhanced Cryptographic Provider (refer to MS advisory for specific KB details)

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

[Mitigation] Apply the official Microsoft security updates immediately and restrict local execution privileges 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-31201

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-31201 Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability (CVE-2021-31201) Advisory (CVSS 5.2) - Patch & Workaround | CVE Pulse