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
    • 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-23384

CVE-2023-23384: Microsoft SQL Server RCE Vulnerability

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

Published: February 4, 2026

CVE-2023-23384 Overview

CVE-2023-23384 is a Remote Code Execution vulnerability affecting Microsoft SQL Server. This heap-based buffer overflow vulnerability (CWE-122) allows unauthenticated attackers to execute arbitrary code on vulnerable SQL Server instances via network-based attacks. The vulnerability poses a significant risk to organizations running affected versions of Microsoft SQL Server, potentially allowing attackers to compromise database servers and access sensitive data.

Critical Impact

Successful exploitation could allow remote attackers to execute arbitrary code on vulnerable Microsoft SQL Server installations without authentication, potentially leading to full system compromise, data theft, or lateral movement within enterprise networks.

Affected Products

  • Microsoft SQL Server 2008 R2 SP3
  • Microsoft SQL Server 2008 SP4 (x64)
  • Microsoft SQL Server 2012 SP4
  • Microsoft SQL Server 2014 SP3
  • Microsoft SQL Server 2016 SP3 (x64)
  • Microsoft SQL Server 2017 (x64)
  • Microsoft SQL Server 2019 (x64)
  • Microsoft SQL Server 2022 (x64)

Discovery Timeline

  • April 11, 2023 - CVE-2023-23384 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-23384

Vulnerability Analysis

This vulnerability is classified as a heap-based buffer overflow (CWE-122), a memory corruption vulnerability that occurs when data is written beyond the allocated boundaries of a heap buffer. In the context of Microsoft SQL Server, this flaw can be exploited remotely over the network without requiring user interaction or prior authentication.

The vulnerability allows attackers to achieve limited impacts on confidentiality, integrity, and availability of the affected system. When successfully exploited, an attacker could execute arbitrary code in the context of the SQL Server service, potentially allowing them to read or modify database contents, execute system commands, or establish persistence on the compromised server.

Root Cause

The root cause of CVE-2023-23384 is improper bounds checking when handling certain input data within Microsoft SQL Server. The heap-based buffer overflow occurs when the application fails to properly validate the size of data before copying it to a fixed-size heap buffer. This allows an attacker to provide specially crafted input that exceeds the allocated buffer size, overwriting adjacent heap memory and potentially corrupting control structures used by the application.

Attack Vector

The attack vector for this vulnerability is network-based, meaning attackers can exploit it remotely without requiring local access to the target system. The attack has low complexity and does not require any user interaction or prior authentication to execute successfully.

An attacker would typically:

  1. Identify a vulnerable Microsoft SQL Server instance exposed to the network
  2. Craft malicious input designed to trigger the heap-based buffer overflow
  3. Send the crafted payload to the SQL Server instance via the network
  4. If successful, gain code execution in the context of the SQL Server service

Due to the nature of the vulnerability, exploitation does not require any privileges on the target system, making it particularly dangerous for SQL Server instances accessible from untrusted networks.

Detection Methods for CVE-2023-23384

Indicators of Compromise

  • Unusual SQL Server process behavior, including unexpected child processes or network connections
  • Anomalous memory consumption patterns in the SQL Server service
  • Unexpected crashes or restarts of the SQL Server service
  • Evidence of code execution or command injection in SQL Server logs

Detection Strategies

  • Deploy network intrusion detection systems (NIDS) to monitor for anomalous traffic patterns targeting SQL Server ports (default 1433/TCP)
  • Implement endpoint detection and response (EDR) solutions to detect suspicious process behavior from sqlservr.exe
  • Monitor SQL Server error logs for unusual crash patterns or memory-related errors
  • Use vulnerability scanning tools to identify unpatched SQL Server instances in your environment

Monitoring Recommendations

  • Enable SQL Server auditing to track connection attempts and failed authentication events
  • Configure alerts for unusual memory allocation patterns in the SQL Server process
  • Monitor network traffic to SQL Server instances for large or malformed packets
  • Implement application performance monitoring to detect service disruptions

How to Mitigate CVE-2023-23384

Immediate Actions Required

  • Apply the security patches provided by Microsoft as soon as possible
  • Restrict network access to SQL Server instances using firewalls and network segmentation
  • Ensure SQL Server instances are not directly exposed to the internet
  • Review and restrict SQL Server service account permissions to minimize post-exploitation impact

Patch Information

Microsoft has released security updates to address this vulnerability. Administrators should apply the appropriate cumulative updates for their SQL Server version. Detailed patch information and download links are available in the Microsoft Security Response Center advisory.

Organizations should prioritize patching based on the exposure of their SQL Server instances. Instances accessible from untrusted networks or the internet should be patched immediately.

Workarounds

  • Implement network-level controls to restrict access to SQL Server to only trusted IP addresses and networks
  • Place SQL Server instances behind application firewalls capable of inspecting and filtering SQL Server protocol traffic
  • If patching is not immediately possible, consider temporarily restricting remote connectivity to critical SQL Server instances
  • Enable SQL Server connection encryption to add an additional layer of protection for data in transit
bash
# Example: Windows Firewall rule to restrict SQL Server access to specific IP range
netsh advfirewall firewall add rule name="SQL Server Restricted Access" dir=in action=allow protocol=tcp localport=1433 remoteip=10.0.0.0/24

# Verify SQL Server patch level using T-SQL
sqlcmd -Q "SELECT @@VERSION"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Sql Server

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.83%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-122

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft CVE-2023-23384 Update
  • Related CVEs
  • CVE-2020-0618: Microsoft SQL Server SSRS RCE Vulnerability

  • CVE-2025-49717: Microsoft SQL Server 2019 RCE Vulnerability

  • CVE-2024-21332: Microsoft SQL Server 2016 RCE Vulnerability

  • CVE-2024-21335: Microsoft SQL Server 2016 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