CVE-2024-21361: Microsoft WDAC OLE DB provider for SQL Server Remote Code Execution Vulnerability
CVE-2024-21361 is a remote code execution vulnerability in Microsoft WDAC OLE DB provider for SQL Server, rated Important by Microsoft, with a CVSS 3.1 base score of 8.8 (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 1.64% probability of exploitation activity in the next 30 days, higher than 77% of all scored vulnerabilities. Microsoft released the fix on 12 February 2024 in the February 2024 Patch Tuesday, delivered through 14 security updates (KB5034768, KB5034770, KB5034766, KB5034763 and more). It affects 36 products in 2 product families (Windows, ESU).
Key facts
- CVE ID
- CVE-2024-21361
- Severity
- High CVSS 8.8
- Microsoft severity
- Important
- Impact
- Remote Code Execution
- Exploited in the wild
- No
- Publicly disclosed
- No
- Exploitation likelihood
- Less Likely
- Weakness
- CWE-122
- EPSS
- 1.64% (percentile 77%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- February 2024 Patch Tuesday
- Product families
- Windows, ESU
CVSS score and vector
Microsoft scores CVE-2024-21361 at 8.8 (temporal 7.7) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/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 | Low |
| 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, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution?
An authenticated victim who is connected to the network must be tricked or persuaded to connect to a malicious SQL database using their SQL client application. After the connection is made, the server can send specially crafted replies to the client that exploit the vulnerability and permit execution of arbitrary code within the context of the user's SQL client application.
Affected products (36)
Windows
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | KB5034768 | Security Update | 10.0.17763.5458 | Yes |
| Windows 10 Version 1809 for x64-based Systems | KB5034768 | Security Update | 10.0.17763.5458 | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | KB5034768 | Security Update | 10.0.17763.5458 | Yes |
| Windows Server 2019 | KB5034768 | Security Update | 10.0.17763.5458 | Yes |
| Windows Server 2019 (Server Core installation) | KB5034768 | Security Update | 10.0.17763.5458 | Yes |
| Windows Server 2022 | KB5034770 | Security Update | 10.0.20348.2322 | Yes |
| Windows Server 2022 (Server Core installation) | KB5034770 | Security Update | 10.0.20348.2322 | Yes |
| Windows 11 version 21H2 for x64-based Systems | KB5034766 | Security Update | 10.0.22000.2777 | Yes |
| Windows 11 version 21H2 for ARM64-based Systems | KB5034766 | Security Update | 10.0.22000.2777 | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | KB5034763 | Security Update | 10.0.19044.4046 | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5034763 | Security Update | 10.0.19044.4046 | Yes |
| Windows 10 Version 21H2 for x64-based Systems | KB5034763 | Security Update | 10.0.19044.4046 | Yes |
| Windows 11 Version 22H2 for ARM64-based Systems | KB5034765 | Security Update | 10.0.22621.3155 | Yes |
| Windows 11 Version 22H2 for x64-based Systems | KB5034765 | Security Update | 10.0.22621.3155 | Yes |
| Windows 10 Version 22H2 for x64-based Systems | ||||
| Windows 10 Version 22H2 for ARM64-based Systems | ||||
| Windows 10 Version 22H2 for 32-bit Systems | ||||
| Windows 11 Version 23H2 for ARM64-based Systems | ||||
| Windows 11 Version 23H2 for x64-based Systems | ||||
| Windows Server 2022, 23H2 Edition (Server Core installation) | KB5034769 | Security Update | 10.0.25398.709 | Yes |
| Windows 10 for 32-bit Systems | KB5034774 | Security Update | 10.0.10240.20469 | Yes |
| Windows 10 for x64-based Systems | KB5034774 | Security Update | 10.0.10240.20469 | Yes |
| Windows 10 Version 1607 for 32-bit Systems | KB5034767 | Security Update | 10.0.14393.6709 | Yes |
| Windows 10 Version 1607 for x64-based Systems | KB5034767 | Security Update | 10.0.14393.6709 | Yes |
| Windows Server 2016 | KB5034767 | Security Update | 10.0.14393.6709 | Yes |
| Windows Server 2016 (Server Core installation) | KB5034767 | Security Update | 10.0.14393.6709 | Yes |
ESU
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows Server 2008 for 32-bit Systems Service Pack 2 | KB5034795 KB5034833 | Monthly Rollup Security Only | 6.0.6003.22511 6.0.6003.22511 | Yes Yes |
| Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) | KB5034795 KB5034833 | Monthly Rollup Security Only | 6.0.6003.22511 6.0.6003.22511 | Yes Yes |
| Windows Server 2008 for x64-based Systems Service Pack 2 | KB5034795 KB5034833 | Monthly Rollup Security Only | 6.0.6003.22511 6.0.6003.22511 | Yes Yes |
| Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) | KB5034795 KB5034833 | Monthly Rollup Security Only | 6.0.6003.22511 6.0.6003.22511 | Yes Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 | KB5034831 KB5034809 | Monthly Rollup Security Only | 6.1.7601.26961 6.1.7601.26961 | Yes Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) | KB5034831 KB5034809 | Monthly Rollup Security Only | 6.1.7601.26961 6.1.7601.26961 | Yes Yes |
| Windows Server 2012 | KB5034830 | Monthly Rollup | 6.2.9200.24710 | Yes |
| Windows Server 2012 (Server Core installation) | KB5034830 | Monthly Rollup | 6.2.9200.24710 | Yes |
| Windows Server 2012 R2 | KB5034819 | Monthly Rollup | 6.3.9600.21813 | Yes |
| Windows Server 2012 R2 (Server Core installation) | KB5034819 | Monthly Rollup | 6.3.9600.21813 | Yes |
Security updates (14)
- KB5034768 (Security Update)
- KB5034770 (Security Update)
- KB5034766 (Security Update)
- KB5034763 (Security Update)
- KB5034765 (Security Update)
- KB5034769 (Security Update)
- KB5034774 (Security Update)
- KB5034767 (Security Update)
- KB5034795 (Monthly Rollup)
- KB5034833 (Security Only)
- KB5034831 (Monthly Rollup)
- KB5034809 (Security Only)
- KB5034830 (Monthly Rollup)
- KB5034819 (Monthly Rollup)
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 8.8 (HIGH)
- NVD weakness
- CWE-122
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| windows 10 1507 | before 10.0.10240.20469 |
| windows 10 1607 | before 10.0.14393.6709 |
| windows 10 1809 | before 10.0.17763.5458 |
| windows 10 21h2 | before 10.0.19044.4046 |
| windows 10 22h2 | before 10.0.19045.4046 |
| windows 11 21h2 | before 10.0.22000.2777 |
| windows 11 22h2 | before 10.0.22621.3155 |
| windows 11 23h2 | before 10.0.22631.3155 |
| windows server 2008 | all listed versions |
| windows server 2008 r2 | all listed versions |
| windows server 2012 | all listed versions |
| windows server 2012 r2 | all listed versions |
| windows server 2016 | before 10.0.14393.6709 |
| windows server 2019 | before 10.0.17763.5458 |
| windows server 2022 | before 10.0.20348.2322 |
| windows server 2022 23h2 | before 10.0.25398.709 |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21361 (Patch, Vendor Advisory)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21361 (Patch, Vendor Advisory)
Acknowledgments
- Anonymous
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |