Microsoft WDAC OLE DB provider for SQL Server Remote Code Execution Vulnerability (CVE-2023-36577)
A vulnerability exists in the Microsoft WDAC OLE DB provider for SQL Server where a malicious SQL server can send specially crafted replies to a connecting client. This could allow arbitrary code execution in the context of the user's SQL client application.
FAQ
According to the CVSS metric, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution? An authenticated victim who is connected to the network must be tricked or persuaded to connect to a malicious SQL database using their SQL client application. After the connection is made, the server can send specially crafted replies to the client that exploit the vulnerability and permit execution of arbitrary code within the context of the user's SQL client application.
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 a memory-safety flaw in how the WDAC OLE DB provider for SQL Server parses replies from a database server.
Impact
An attacker could execute arbitrary code within the context of the victim's SQL client application, but the victim must first be persuaded to connect to a malicious database.
What the attacker needed
Victim uses a SQL client application; victim connects to a malicious 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.
When a program connects to a database, the database server sends data back to the program. In this case, a malicious server could send back data crafted to take over the program on the victim's computer. The victim would need to be tricked into connecting to that bad server first.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.