The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-28304

CVE-2023-28304: Microsoft ODBC & OLE DB RCE Vulnerability

CVE-2023-28304 is a remote code execution vulnerability in Microsoft ODBC and OLE DB that enables attackers to execute arbitrary code on affected systems. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-28304 Overview

CVE-2023-28304 is a remote code execution vulnerability affecting Microsoft ODBC (Open Database Connectivity) and OLE DB (Object Linking and Embedding, Database) drivers for SQL Server. This vulnerability stems from improper input validation (CWE-20) within these database connectivity components, potentially allowing an attacker to execute arbitrary code on affected systems.

The vulnerability requires local access and user interaction to exploit, meaning an attacker would need to convince a user to open a specially crafted file or connect to a malicious SQL Server database. Upon successful exploitation, an attacker could gain complete control over the affected system with the ability to compromise confidentiality, integrity, and availability.

Critical Impact

Successful exploitation allows remote code execution through Microsoft ODBC and OLE DB drivers, potentially leading to full system compromise when users interact with malicious database connections.

Affected Products

  • Microsoft ODBC Driver for SQL Server
  • Microsoft OLE DB Driver for SQL Server

Discovery Timeline

  • 2023-04-11 - CVE-2023-28304 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-28304

Vulnerability Analysis

This vulnerability exists in Microsoft's database connectivity drivers—specifically the ODBC and OLE DB components used for SQL Server connections. The root cause is classified under CWE-20 (Improper Input Validation), indicating that the affected drivers fail to properly validate or sanitize input data during database operations.

When a user connects to a malicious SQL Server instance or processes a specially crafted database connection, the vulnerable driver components may improperly handle certain input, leading to memory corruption or other exploitable conditions. The attack requires local access and user interaction, which somewhat limits the exposure but does not diminish the potential severity of a successful attack.

The exploitation scenario typically involves social engineering, where an attacker convinces a target to open a malicious file (such as a database connection file) or connect to an attacker-controlled SQL Server. Applications that utilize these ODBC or OLE DB drivers for database connectivity are potentially at risk.

Root Cause

The vulnerability originates from improper input validation (CWE-20) within the Microsoft ODBC and OLE DB drivers for SQL Server. The drivers fail to properly validate certain input parameters during database operations, creating conditions that can be exploited for remote code execution. This lack of adequate input sanitization allows maliciously crafted data to be processed in an unsafe manner, potentially corrupting memory or hijacking execution flow.

Attack Vector

The attack vector for CVE-2023-28304 is local, requiring user interaction. An attacker cannot exploit this vulnerability remotely without first tricking a user into performing an action. The typical attack scenario involves:

  1. The attacker sets up a malicious SQL Server instance or creates a specially crafted database connection file
  2. The attacker uses social engineering techniques to convince the target user to connect to the malicious server or open the malicious file
  3. When the victim's application uses the vulnerable ODBC or OLE DB driver to establish the connection, the malicious input triggers the vulnerability
  4. Successful exploitation results in arbitrary code execution in the context of the user's session

Since no public exploit code is currently available, the technical details of specific exploitation techniques remain undisclosed. For additional technical information, refer to the Microsoft Vulnerability Advisory CVE-2023-28304.

Detection Methods for CVE-2023-28304

Indicators of Compromise

  • Unusual database connection attempts to unknown or suspicious SQL Server instances
  • Unexpected crashes or errors in applications utilizing ODBC or OLE DB drivers
  • Suspicious processes spawned by database connectivity components
  • Anomalous network traffic to external SQL Server endpoints

Detection Strategies

  • Monitor for applications making connections to untrusted or unknown SQL Server instances
  • Implement application whitelisting to prevent unauthorized executables from running
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious behavior patterns associated with exploitation attempts
  • Review application logs for unusual database connectivity errors or exceptions

Monitoring Recommendations

  • Enable Windows Event Logging for database connectivity events and monitor for anomalies
  • Configure SentinelOne agents to monitor process behavior for ODBC and OLE DB driver activity
  • Implement network monitoring to detect connections to suspicious external database servers
  • Establish baseline behavior for legitimate database operations to identify deviations

How to Mitigate CVE-2023-28304

Immediate Actions Required

  • Apply the latest security updates from Microsoft for ODBC and OLE DB drivers
  • Restrict database connections to trusted SQL Server instances only
  • Educate users about the risks of opening unknown database connection files or connecting to untrusted servers
  • Implement application control policies to limit which applications can utilize database connectivity features

Patch Information

Microsoft has released security updates to address this vulnerability. System administrators should apply the relevant patches for Microsoft ODBC and OLE DB drivers as described in the Microsoft Security Update Guide. Organizations should prioritize patching systems that regularly interact with external database connections or process untrusted database files.

Workarounds

  • Block or restrict network connections to untrusted SQL Server instances at the firewall level
  • Implement strict application control policies to prevent execution of unauthorized database client applications
  • Configure endpoint protection to block suspicious database connectivity attempts
  • Use network segmentation to isolate systems that require database connectivity from general user endpoints
bash
# Configuration example - Windows Firewall rule to restrict outbound SQL Server connections
# Allow only connections to trusted SQL Server IP addresses
netsh advfirewall firewall add rule name="Block Untrusted SQL Connections" dir=out protocol=tcp localport=any remoteport=1433 action=block
netsh advfirewall firewall add rule name="Allow Trusted SQL Server" dir=out protocol=tcp remoteip=10.0.0.100 remoteport=1433 action=allow

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Odbc

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Vulnerability Advisory CVE-2023-28304
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English