Check Point Advisories

Microsoft SQL Server INSERT Statement Buffer Overflow (MS08-040; CVE-2008-0106)

Check Point Reference: CPAI-2008-311
Date Published: 4 Nov 2009
Severity: High
Last Updated: Wednesday 04 November, 2009
Source:
Industry Reference:CVE-2008-0106
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable?
Vulnerability Description Microsoft SQL Server is a popular relational database management system (RDBMS). Microsoft SQL Server can be administered programmatically using system stored procedures, or through Distributed Management Objects (DMO). Its primary query language is Transact-SQL, an implementation of the ANSI/ISO standard Structured Query Language (SQL). There exists a buffer overflow in Microsoft SQL Server. The vulnerability is due improper input validation when processing INSERT statements. A remote authenticated attacker can exploit this vulnerability by sending a specially crafted SQL statement to the target server, potentially causing arbitrary code injection and execution with the privileges of the affected process. In an attack case where code injection is not successful, the SQL server process will terminate. In a more sophisticated attack scenario where code injection is successful, the behaviour of the target host is entirely dependent on the intended function of the injected code. The code in such a case would execute within the security context of the SQL server process, which could have privileges as the System account.

Protection Overview

This protection will detect and block attempts to exploit this vulnerability

In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, go to SBP-2006-05, click on Protection tab and select the version of your choice.

Security Gateway R80 / R77 / R75

  1. In the IPS tab, click Protections and find the Microsoft SQL Server INSERT Statement Buffer Overflow (MS08-040) protection using the Search tool and Edit the protection's settings.
  2. Install policy on all Security Gateways.

This protection's log will contain the following information:

Attack Name:  Microsoft SQL Server Protection Violation.
Attack Information:  Microsoft SQL Server INSERT statement buffer overflow (MS08-040)

×
  Feedback
This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.
OK