CVE-2021-31958: Windows NTLM Elevation of Privilege Vulnerability
CVE-2021-31958 is an elevation of privilege vulnerability in Windows NTLM, rated Important by Microsoft, with a CVSS 3.1 base score of 7.5 (High). An attacker can exploit it remotely over the network, without any privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 2.56% probability of exploitation activity in the next 30 days, higher than 86% of all scored vulnerabilities. Microsoft released the fix on 8 June 2021 in the June 2021 Patch Tuesday, delivered through 13 security updates (KB5003646, KB5003635, KB5003637, KB5003687 and more). It affects 39 products in 2 product families (Windows, ESU).
Key facts
- CVE ID
- CVE-2021-31958
- Severity
- High CVSS 7.5
- Microsoft severity
- Important
- Impact
- Elevation of Privilege
- Exploited in the wild
- No
- Publicly disclosed
- No
- Exploitation likelihood
- Less Likely
- Weakness
- CWE-294
- EPSS
- 2.56% (percentile 86%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- June 2021 Patch Tuesday
- Product families
- Windows, ESU
CVSS score and vector
Microsoft scores CVE-2021-31958 at 7.5 (temporal 6.5) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | High |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
| Exploit code maturity | Unproven |
| Remediation level | Official fix |
| Report confidence | Confirmed |
Frequently asked questions (Microsoft)
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do?
This vulnerability requires that a user with an affected version of Windows access a malicious server. An attacker would have to host a specially crafted server share or website. An attacker would have no way to force users to visit this specially crafted server share or website, but would have to convince them to visit the server share or website, typically by way of an enticement in an email or chat message.
Affected products (39)
Windows
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | KB5003646 | Security Update | 10.0.17763.1999 | Yes |
| Windows 10 Version 1809 for x64-based Systems | KB5003646 | Security Update | 10.0.17763.1999 | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | KB5003646 | Security Update | 10.0.17763.1999 | Yes |
| Windows Server 2019 | KB5003646 | Security Update | 10.0.17763.1999 | Yes |
| Windows Server 2019 (Server Core installation) | KB5003646 | Security Update | 10.0.17763.1999 | Yes |
| Windows 10 Version 1909 for 32-bit Systems | KB5003635 | Security Update | 10.0.18363.1621 | Yes |
| Windows 10 Version 1909 for x64-based Systems | KB5003635 | Security Update | 10.0.18363.1621 | Yes |
| Windows 10 Version 1909 for ARM64-based Systems | KB5003635 | Security Update | 10.0.18363.1621 | Yes |
| Windows 10 Version 21H1 for x64-based Systems | KB5003637 | Security Update | 10.0.19043.1052 | Yes |
| Windows 10 Version 21H1 for ARM64-based Systems | KB5003637 | Security Update | 10.0.19043.1052 | Yes |
| Windows 10 Version 21H1 for 32-bit Systems | KB5003637 | Security Update | 10.0.19043.1052 | Yes |
| Windows 10 Version 2004 for 32-bit Systems | ||||
| Windows 10 Version 2004 for ARM64-based Systems | ||||
| Windows 10 Version 2004 for x64-based Systems | ||||
| Windows Server, version 2004 (Server Core installation) | ||||
| Windows 10 Version 20H2 for 32-bit Systems | ||||
| Windows 10 Version 20H2 for ARM64-based Systems | ||||
| Windows Server, version 20H2 (Server Core Installation) | ||||
| Windows 10 for 32-bit Systems | KB5003687 | Security Update | 10.0.10240.18967 | Yes |
| Windows 10 for x64-based Systems | KB5003687 | Security Update | 10.0.10240.18967 | Yes |
| Windows 10 Version 1607 for 32-bit Systems | KB5003638 | Security Update | 10.0.14393.4467 | Yes |
| Windows 10 Version 1607 for x64-based Systems | KB5003638 | Security Update | 10.0.14393.4467 | Yes |
| Windows Server 2016 | KB5003638 | Security Update | 10.0.14393.4467 | Yes |
| Windows Server 2016 (Server Core installation) | KB5003638 | Security Update | 10.0.14393.4467 | Yes |
| Windows 8.1 for 32-bit systems | KB5003671 KB5003681 | Monthly Rollup Security Only | 6.3.9600.20045 6.3.9600.20044 | Yes Yes |
| Windows 8.1 for x64-based systems | KB5003671 KB5003681 | Monthly Rollup Security Only | 6.3.9600.20045 6.3.9600.20044 | Yes Yes |
| Windows RT 8.1 | KB5003671 | Monthly Rollup | 6.3.9600.20045 | Yes |
ESU
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 7 for 32-bit Systems Service Pack 1 | KB5003667 KB5003694 | Monthly Rollup Security Only | 6.1.7601.25632 6.1.7601.25632 | Yes Yes |
| Windows 7 for x64-based Systems Service Pack 1 | KB5003667 KB5003694 | Monthly Rollup Security Only | 6.1.7601.25632 6.1.7601.25632 | Yes Yes |
| Windows Server 2008 for 32-bit Systems Service Pack 2 | KB5003661 KB5003695 | Monthly Rollup Security Only | 6.0.6003.21137 6.0.6003.21137 | Yes Yes |
| Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) | KB5003661 KB5003695 | Monthly Rollup Security Only | 6.0.6003.21137 6.0.6003.21137 | Yes Yes |
| Windows Server 2008 for x64-based Systems Service Pack 2 | KB5003661 KB5003695 | Monthly Rollup Security Only | 6.0.6003.21137 6.0.6003.21137 | Yes Yes |
| Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) | KB5003661 KB5003695 | Monthly Rollup Security Only | 6.0.6003.21137 6.0.6003.21137 | Yes Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 | KB5003667 KB5003694 | Monthly Rollup Security Only | 6.1.7601.25632 6.1.7601.25632 | Yes Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) | KB5003667 KB5003694 | Monthly Rollup Security Only | 6.1.7601.25632 6.1.7601.25632 | Yes Yes |
| Windows Server 2012 | KB5003697 KB5003696 | Monthly Rollup Security Only | 6.2.9200.23372 6.2.9200.23372 | Yes Yes |
| Windows Server 2012 (Server Core installation) | KB5003697 KB5003696 | Monthly Rollup Security Only | 6.2.9200.23372 6.2.9200.23372 | Yes Yes |
| Windows Server 2012 R2 | KB5003671 KB5003681 | Monthly Rollup Security Only | 6.3.9600.20045 6.3.9600.20044 | Yes Yes |
| Windows Server 2012 R2 (Server Core installation) | KB5003671 KB5003681 | Monthly Rollup Security Only | 6.3.9600.20045 6.3.9600.20044 | Yes Yes |
Security updates (13)
- KB5003646 (Security Update)
- KB5003635 (Security Update)
- KB5003637 (Security Update)
- KB5003687 (Security Update)
- KB5003638 (Security Update)
- KB5003667 (Monthly Rollup)
- KB5003694 (Security Only)
- KB5003671 (Monthly Rollup)
- KB5003681 (Security Only)
- KB5003661 (Monthly Rollup)
- KB5003695 (Security Only)
- KB5003697 (Monthly Rollup)
- KB5003696 (Security Only)
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 7.5 (HIGH)
- NVD weakness
- CWE-294
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| windows 10 | all listed versions |
| windows 10 20h2 | all listed versions |
| windows 10 21h1 | all listed versions |
| windows 10 1607 | all listed versions |
| windows 10 1809 | all listed versions |
| windows 10 1909 | all listed versions |
| windows 10 2004 | all listed versions |
| windows 7 | all listed versions |
| windows 8.1 | all listed versions |
| windows rt 8.1 | all listed versions |
| windows server 2008 r2 (x64) | all listed versions |
| windows server 2008 sp2 | all listed versions |
| windows server 2012 | all listed versions |
| windows server 2012 r2 | all listed versions |
| windows server 2016 | all listed versions |
| windows server 2016 20h2 | all listed versions |
| windows server 2016 1909 | all listed versions |
| windows server 2016 2004 | all listed versions |
| windows server 2019 | all listed versions |
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31958 (Patch, Vendor Advisory)
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31958 (Patch, Vendor Advisory)
Acknowledgments
- Gal Levy and Yuval Sarel from Armis Security
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |