Rapid7 Vulnerability & Exploit Database

SQL Server Remote Data Source Buffer Overflow

Free InsightVM Trial No credit card necessary
Watch Demo See how it all works
Back to Search

SQL Server Remote Data Source Buffer Overflow

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
03/08/2002
Created
07/25/2018
Added
11/01/2004
Modified
12/04/2013

Description

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.

Solution(s)

  • install-microsoft-patch-e8ca68e2cfab13abb25cd12b280e725a
  • install-microsoft-patch-94d713e2265d41849466a3a6125d1c2b

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

;