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.
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
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.