Microsoft SQL OLE DB Remote Code Execution Vulnerability
🔗 CVE IDs covered (1)
📋 Description
If I normally install GDR versions and have not installed the June Cumulative Update, am I affected by the vulnerability? Yes, customers who have installed Microsoft SQL Server 2022 for x64-based Systems (GDR) or Microsoft SQL Server 2019 for x64-based Systems (GDR) are vulnerable. Microsoft recommends updating to the latest cumulative update to be protected from this vulnerability.
How could an attacker exploit this vulnerability? An attacker could exploit the vulnerability by tricking an authenticated user into attempting to connect to a malicious SQL server via OLEDB, which could result in the server receiving a malicious networking packet. This could allow the attacker to execute code remotely on the client.
🎯 Affected products10
- Microsoft ODBC Driver 17 for SQL Server on Linux
- Microsoft ODBC Driver 17 for SQL Server on MacOS
- Microsoft ODBC Driver 17 for SQL Server on Windows
- Microsoft ODBC Driver 18 for SQL Server on Linux
- Microsoft ODBC Driver 18 for SQL Server on MacOS
- Microsoft ODBC Driver 18 for SQL Server on Windows
- Microsoft OLE DB Driver 18 for SQL Server
- Microsoft OLE DB Driver 19 for SQL Server
- Microsoft SQL Server 2019 for x64-based Systems (CU 21)
- Microsoft SQL Server 2022 for x64-based Systems (CU 5)
✅ Remediation
KBRelease Notes (Security Update) — fixed build 19.3.0001.0 KBRelease Notes (Security Update) — fixed build 18.6.0006.0 KBRelease Notes (Security Update) — fixed build 18.2.1.1 KBRelease Notes (Security Update) — fixed build 17.10.4.1 KB5026806 (Security Update) — fixed build 16.0.4053.3 KB5025808 (Security Update) — fixed build 15.0.4316.3 KBRelease Notes (Security Update) — fixed build 18.2.2.1
🔗 References (16)
- advisoryhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38169
- patchhttps://learn.microsoft.com/sql/connect/oledb/download-oledb-driver-for-sql-server#download
- referencehttps://learn.microsoft.com/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server#1931
- patchhttps://learn.microsoft.com/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server#1866
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server#18
- referencehttps://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows#1822
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos#17
- referencehttps://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows#17104
- patchhttps://www.microsoft.com/download/details.aspx?familyid=4fa9aa71-05f4-40ef-bc55-606ac00479b1
- referencehttps://support.microsoft.com/help/5026806
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server#17
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos#18
- patchhttps://www.microsoft.com/download/details.aspx?familyid=d58ff07b-8a08-4163-885c-a3e894e0f21a
- referencehttps://support.microsoft.com/help/5025808
- patchhttps://learn.microsoft.com/sql/connect/odbc/download-odbc-driver-for-sql-server#version-17
- patchhttps://learn.microsoft.com/sql/connect/odbc/download-odbc-driver-for-sql-server#download-for-windows