Microsoft SQL Server is vulnerable to a buffer overflow condition in its ad-hoc query support. By specifying a long OLE-DB data source when performing an ad-hoc query, the SQL Server service can crash. The functions used for ad-hoc queries are OpenDataSource and OpenRowset. If the SQL Agent is running, it will restart the server.
To exploit this vulnerability, the user must first logon to the SQL server. This requires knowledge of a valid user id and password. Once logged on, the malicious user can execute arbitrary commands with the privileges of the account used by the SQL server.
With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.
– Scott Cheney, Manager of Information Security, Sierra View Medical Center