CVE-2026-66819
HIGH(8.8)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 8.8 — Hoch
Erwähnungen (letzte 60 Tage)
EPSS-Score
0.7%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
8.8
Technische Schwere
Beschreibung
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
Erkennung & Indikatoren
Ausnutzung
In den geprüften Quellen nicht genannt
Threat-Hunting-Queries
Detection for SQL injection attempts, especially those leading to privilege escalation. This is a generic behavioral detection as no specific IOCs or detailed exploit patterns are provided.
Sentinel/Defender KQL
SecurityEvent
| where EventID == 4624 and LogonType == 3 // Successful network logon
| where SubjectUserName has_any ("sql", "mssql", "sa") // Look for SQL-related accounts
| join kind=inner (
DeviceProcessEvents
| where FileName in ("sqlservr.exe", "sqldumper.exe") // SQL Server processes
| where ProcessCommandLine has_any ("xp_cmdshell", "sp_oacreate") // Common SQL injection post-exploitation commands
) on DeviceId, InitiatingProcessId == ProcessId
| project TimeGenerated, DeviceName, SubjectUserName, ProcessCommandLine, RemoteIP, RemotePort
| extend ThreatType = "SQL Injection Privilege Escalation Attempt"Splunk SPL
index=windows sourcetype=WinEventLog:Security EventCode=4624 Logon_Type=3 (User="*sql*" OR User="*mssql*" OR User="*sa*")
| join type=inner (
index=windows sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational EventCode=1 Image IN ("*\\sqlservr.exe", "*\\sqldumper.exe") CommandLine IN ("*xp_cmdshell*", "*sp_oacreate*")
) on ComputerName
| table _time, ComputerName, User, CommandLine, IpAddress, DestPort
| eval ThreatType = "SQL Injection Privilege Escalation Attempt"Sigma
title: SQL Server Privilege Escalation via SQL Injection
id: 00000000-0000-0000-0000-000000000000 # Placeholder, generate a real UUID
status: experimental
description: Detects potential SQL injection leading to privilege escalation in SQL Server by monitoring suspicious command execution from SQL processes.
author: SecBoard
date: 2024/01/01
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\sqlservr.exe'
- '\sqldumper.exe'
CommandLine|contains:
- 'xp_cmdshell'
- 'sp_oacreate'
condition: selection
level: highElastic ES|QL
from security_events
| where event.category == "process"
| where process.executable : ("*\\sqlservr.exe", "*\\sqldumper.exe")
| where process.command_line : ("*xp_cmdshell*", "*sp_oacreate*")
| select @timestamp, host.name, process.executable, process.command_line, user.name
| extend threat.type = "SQL Injection Privilege Escalation Attempt"SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Betroffene Produkte
- cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*