Skip to content
RCE Advisory Advanced CVE-2024-26210

Microsoft WDAC OLE DB provider for SQL Server Remote Code Execution Vulnerability (CVE-2024-26210)

The Microsoft WDAC OLE DB provider for SQL Server could execute remote code on a client when an authenticated user is tricked into connecting to a malicious SQL server via OLEDB. The malicious server sends a crafted networking packet that leads to code execution on the client.

bee13oy Follow

Originally disclosed on Microsoft

High 8.8 View original

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 OLEDB, which could result in the server receiving a malicious networking packet. This could allow the attacker to execute code remotely on the client.

Microsoft WDAC OLE DB provider for SQL

Microsoft WDAC OLE DB provider for SQL

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by bee13oy with Cyber Kunlun Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the OLE DB provider does not properly validate or handle the networking packets it receives from a SQL server, allowing a malicious server to trigger code execution on the client.

Impact

An attacker could execute code remotely on the client, but only after tricking an authenticated user into connecting to a malicious SQL server.

What the attacker needed

Authenticated user; user connects to malicious SQL server

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a flaw in a Microsoft component that lets programs talk to SQL Server databases. If a user is persuaded to connect to a server controlled by an attacker, that server can send a specially crafted message that makes the user's computer run the attacker's code. The user must first be tricked into making that connection.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by bee13oy

View all

34 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.