Skip to content
RCE Advisory Advanced CVE-2024-30077

Windows OLE Remote Code Execution Vulnerability (CVE-2024-30077)

A vulnerability in the Windows OLE DB provider for SQL allows an attacker to execute arbitrary code on a client by tricking an authenticated user into connecting to a malicious SQL server database. The malicious database returns crafted data that leads to code execution.

bee13oy Follow

Originally disclosed on Microsoft

High 8.0 View original

FAQ

How could an attacker exploit this vulnerability? An attacker could exploit the vulnerability by tricking an authenticated user (UI:R) into attempting to connect to a malicious SQL server database via a connection driver (for example: OLE DB or OLEDB as applicable). This could result in the database returning malicious data that could cause arbitrary code execution 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 for SQL does not properly validate or handle data returned from a database server, allowing malicious data to trigger code execution.

Impact

An attacker could achieve arbitrary code execution on the client, but only if an authenticated user is tricked into connecting to a malicious SQL server database.

What the attacker needed

Authenticated user; user tricked into connecting to malicious database

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 Windows component that lets programs talk to databases. If a user is tricked into connecting to a bad database server, that server can send back harmful data that makes the user's computer run the attacker's code. The attacker needs the user to take an action, like opening a file or clicking a link that starts the 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.