Rapid7 Vulnerability & Exploit Database

Microsoft SQL Server xp_displayparamstmt Buffer Overflow

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

Microsoft SQL Server xp_displayparamstmt Buffer Overflow

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:P/I:P/A:P)
Published
01/09/2001
Created
07/25/2018
Added
11/01/2004
Modified
03/21/2018

Description

Microsoft SQL Server is vulnerable to a buffer overflow by calling the procedure xp_displayparamstmt with long parameter data. This procedure calls the srv_paraminfo API, which does not check the buffer length before copying the paramters.

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-8c3b4321a3c069d2c6c72e9ffe1dde61
  • install-microsoft-patch-a62a6bdb2826dd550bf74d3d1bc9d04b

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

;