CVE-2023-36882: Microsoft WDAC OLE DB provider for SQL Server Remote Code Execution Vulnerability
CVE-2023-36882 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.57% probability of exploitation activity in the next 30 days, higher than 76% of all scored vulnerabilities. Microsoft released the fix on 7 August 2023 in the August 2023 Patch Tuesday, delivered through 16 security updates (KB5029247, KB5029250, KB5029367, KB5029253 and more). It affects 33 products in 2 product families (Windows, ESU).
Key facts
- CVE ID
- CVE-2023-36882
- 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-416
- EPSS
- 1.57% (percentile 76%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- August 2023 Patch Tuesday
- Product families
- Windows, ESU
CVSS score and vector
Microsoft scores CVE-2023-36882 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, user interaction is required (UI:R). What interaction would the user have to do?
An attacker could exploit the vulnerability by tricking an authenticated user (CVSS metric UI:R) into attempting to connect to a malicious SQL server via a connection driver (for example: ODBC and / or OLEDB as applicable).
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.
Mitigations and workarounds
The following mitigating factors might be helpful in your situation:
Exploitation of this vulnerability requires an attacker to trick or convince the victim into connecting to their malicious server. If your environment only connects to known, trusted servers and there is no ability to reconfigure existing connections to point to another location (for example you use TLS encryption with certificate validation), the vulnerability cannot be exploited.
Affected products (33)
Windows
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | KB5029247 | Security Update | 10.0.17763.4737 | Yes |
| Windows 10 Version 1809 for x64-based Systems | KB5029247 | Security Update | 10.0.17763.4737 | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | KB5029247 | Security Update | 10.0.17763.4737 | Yes |
| Windows Server 2019 | KB5029247 | Security Update | 10.0.17763.4737 | Yes |
| Windows Server 2019 (Server Core installation) | KB5029247 | Security Update | 10.0.17763.4737 | Yes |
| Windows Server 2022 | KB5029250 KB5029367 | Security Update Security Hotpatch Update | 10.0.20348.1906 10.0.20348.1903 | Yes No |
| Windows Server 2022 (Server Core installation) | KB5029250 KB5029367 | Security Update Security Hotpatch Update | 10.0.20348.1906 10.0.20348.1903 | Yes No |
| Windows 11 version 21H2 for x64-based Systems | KB5029253 | Security Update | 10.0.22000.2295 | Yes |
| Windows 11 version 21H2 for ARM64-based Systems | KB5029253 | Security Update | 10.0.22000.2295 | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | KB5029244 | Security Update | 10.0.19044.3324 | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5029244 | Security Update | 10.0.19044.3324 | Yes |
| Windows 10 Version 21H2 for x64-based Systems | KB5029244 | Security Update | 10.0.19044.3324 | Yes |
| Windows 11 Version 22H2 for ARM64-based Systems | KB5029263 | Security Update | 10.0.22621.2134 | Yes |
| Windows 11 Version 22H2 for x64-based Systems | KB5029263 | Security Update | 10.0.22621.2134 | 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 10 for 32-bit Systems | KB5029259 | Security Update | 10.0.10240.20107 | Yes |
| Windows 10 for x64-based Systems | KB5029259 | Security Update | 10.0.10240.20107 | Yes |
| Windows 10 Version 1607 for 32-bit Systems | KB5029242 | Security Update | 10.0.14393.6167 | Yes |
| Windows 10 Version 1607 for x64-based Systems | KB5029242 | Security Update | 10.0.14393.6167 | Yes |
| Windows Server 2016 | KB5029242 | Security Update | 10.0.14393.6167 | Yes |
| Windows Server 2016 (Server Core installation) | KB5029242 | Security Update | 10.0.14393.6167 | Yes |
ESU
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows Server 2008 for 32-bit Systems Service Pack 2 | KB5029318 KB5029301 | Monthly Rollup Security Only | 6.0.6003.22216 6.0.6003.22216 | Yes Yes |
| Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) | KB5029318 KB5029301 | Monthly Rollup Security Only | 6.0.6003.22216 6.0.6003.22216 | Yes Yes |
| Windows Server 2008 for x64-based Systems Service Pack 2 | KB5029318 KB5029301 | Monthly Rollup Security Only | 6.0.6003.22216 6.0.6003.22216 | Yes Yes |
| Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) | KB5029318 KB5029301 | Monthly Rollup Security Only | 6.0.6003.22216 6.0.6003.22216 | Yes Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 | KB5029296 KB5029307 | Monthly Rollup Security Only | 6.1.7601.26664 6.1.7601.26664 | Yes Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) | KB5029296 KB5029307 | Monthly Rollup Security Only | 6.1.7601.26664 6.1.7601.26664 | Yes Yes |
| Windows Server 2012 | KB5029295 KB5029308 | Monthly Rollup Security Only | 6.2.9200.24414 6.2.9200.24414 | Yes Yes |
| Windows Server 2012 (Server Core installation) | KB5029295 KB5029308 | Monthly Rollup Security Only | 6.2.9200.24414 6.2.9200.24414 | Yes Yes |
| Windows Server 2012 R2 | KB5029312 KB5029304 | Monthly Rollup Security Only | 6.3.9600.21503 6.3.9600.21503 | Yes Yes |
| Windows Server 2012 R2 (Server Core installation) | KB5029312 KB5029304 | Monthly Rollup Security Only | 6.3.9600.21503 6.3.9600.21503 | Yes Yes |
Security updates (16)
- KB5029247 (Security Update)
- KB5029250 (Security Update)
- KB5029367 (Security Hotpatch Update)
- KB5029253 (Security Update)
- KB5029244 (Security Update)
- KB5029263 (Security Update)
- KB5029259 (Security Update)
- KB5029242 (Security Update)
- KB5029318 (Monthly Rollup)
- KB5029301 (Security Only)
- KB5029296 (Monthly Rollup)
- KB5029307 (Security Only)
- KB5029295 (Monthly Rollup)
- KB5029308 (Security Only)
- KB5029312 (Monthly Rollup)
- KB5029304 (Security Only)
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 8.8 (HIGH)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| windows 10 1507 | before 10.0.10240.20107 |
| windows 10 1607 | before 10.0.14393.6167 |
| windows 10 1809 | before 10.0.17763.4737 |
| windows 10 21h2 | before 10.0.19044.3324 |
| windows 10 22h2 | before 10.0.19045.3324 |
| windows 11 21h2 | before 10.0.22000.2295 |
| windows 11 22h2 | before 10.0.22621.2134 |
| windows server 2008 | all listed versions |
| windows server 2008 r2 (x64) | all listed versions |
| windows server 2012 | all listed versions |
| windows server 2012 r2 | all listed versions |
| windows server 2016 | all listed versions |
| windows server 2019 | all listed versions |
| windows server 2022 | all listed versions |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36882 (Patch, Vendor Advisory)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36882 (Patch, Vendor Advisory)
Acknowledgments
- bee13oy with Cyber Kunlun Lab
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |