CVE-2022-38040
published 2022-10-11CVE-2022-38040: Microsoft ODBC Driver Remote Code Execution Vulnerability
PriorityP349high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.48%
70.9th percentile
Microsoft ODBC Driver Remote Code Execution Vulnerability
Affected
44 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | windows_10 | — | — |
| microsoft | windows_10 | — | — |
| microsoft | windows_10 | — | — |
| microsoft | windows_10 | — | — |
| microsoft | windows_10 | — | — |
| microsoft | windows_10_version_1507 | >= 10.0.10240.0 < 10.0.10240.19507 | 10.0.10240.19507 |
| microsoft | windows_10_version_1607 | >= 10.0.14393.0 < 10.0.14393.5427 | 10.0.14393.5427 |
| microsoft | windows_10_version_1809 | >= 10.0.0 < 10.0.17763.3532 | 10.0.17763.3532 |
| microsoft | windows_10_version_1809 | >= 10.0.17763.0 < 10.0.17763.3532 | 10.0.17763.3532 |
| microsoft | windows_10_version_20h2 | >= 10.0.0 < 10.0.19042.2130 | 10.0.19042.2130 |
| microsoft | windows_10_version_21h1 | >= 10.0.0 < 10.0.19043.2130 | 10.0.19043.2130 |
| microsoft | windows_10_version_21h2 | >= 10.0.19043.0 < 10.0.19044.2130 | 10.0.19044.2130 |
| microsoft | windows_11 | — | — |
| microsoft | windows_11_version_21h2 | >= 10.0.0 < 10.0.22000.1098 | 10.0.22000.1098 |
| microsoft | windows_11_version_22h2 | >= 10.0.22621.0 < 10.0.22621.674 | 10.0.22621.674 |
| microsoft | windows_7 | >= 6.1.0 < 6.1.7601.26174 | 6.1.7601.26174 |
| microsoft | windows_7_service_pack_1 | >= 6.1.0 < 6.1.7601.26174 | 6.1.7601.26174 |
| microsoft | windows_8.1 | >= 6.3.0 < 6.3.9600.20625 | 6.3.9600.20625 |
| microsoft | windows_server_2008 | — | — |
| microsoft | windows_server_2008_r2_service_pack_1 | >= 6.1.7601.0 < 6.1.7601.26174 | 6.1.7601.26174 |
| microsoft | windows_server_2008_service_pack_2 | >= 6.0.6003.0 < 6.0.6003.21721 | 6.0.6003.21721 |
| microsoft | windows_server_2012 | — | — |
| microsoft | windows_server_2012 | >= 6.2.9200.0 < 6.2.9200.23920 | 6.2.9200.23920 |
| microsoft | windows_server_2012_r2 | >= 6.3.9600.0 < 6.3.9600.20625 | 6.3.9600.20625 |
| microsoft | windows_server_2016 | >= 10.0.14393.0 < 10.0.14393.5427 | 10.0.14393.5427 |
Detection & IOCsextracted from sources · hover to see the quote
- →Attack vector requires a user to initiate an ODBC connection to an attacker-controlled SQL server; monitor for outbound ODBC/TDS connections (default TCP 1433) to unknown or external hosts initiated by end-user processes. ↗
- →The exploit is client-side RCE triggered by a malicious networking packet from a rogue SQL server; alert on unexpected child processes spawned by ODBC-consuming applications (e.g., Excel, Access, custom apps) after an outbound SQL connection. ↗
- →Social-engineering / phishing is the likely delivery mechanism; monitor for user-initiated ODBC DSN changes or connection-string files (.dsn, .udl) pointing to external IPs/domains. ↗
- ·Exploitation is rated 'Less Likely' for both latest and older software releases; no public exploit or in-the-wild exploitation confirmed at time of advisory. ↗
- ·Customer action is required; patching alone is insufficient without ensuring end-users cannot be socially engineered into connecting to untrusted SQL servers. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vendor_msrc8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-866q-r6p7-vx88: Microsoft ODBC Driver Remote Code Execution Vulnerability
ghsa_unreviewed·2022-10-12
CVE-2022-38040 [HIGH] GHSA-866q-r6p7-vx88: Microsoft ODBC Driver Remote Code Execution Vulnerability
Microsoft ODBC Driver Remote Code Execution Vulnerability.
Microsoft
Microsoft ODBC Driver Remote Code Execution Vulnerability
vendor_msrc·2022-10-11·CVSS 8.8
CVE-2022-38040 [HIGH] Microsoft ODBC Driver Remote Code Execution Vulnerability
Microsoft ODBC Driver Remote Code Execution Vulnerability
FAQ: 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 ODBC, which could result in the server receiving a malicious networking packet. This could allow the attacker to execute code remotely on the client.
Windows ODBC Driver: Windows ODBC Driver
Microsoft: Microsoft
Customer Action Required: Yes
Impact: Remote Code Execution
Exploit Status: Publicly Disclosed:No;Exploited:No;Latest Software Release:Exploitation Less Likely;Older Software Release:Exploitation Less Likely;DOS:N/A
Reference: https://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB5018419
Reference: https://support.microsoft
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-10-11
Published