Check Point Advisories

Microsoft SQL Server CONVERT Function Buffer Overflow (MS08-040; CVE-2008-0086)

Check Point Reference: CPAI-2008-310
Date Published: 25 Oct 2009
Severity: Critical
Last Updated: Sunday 04 November, 2012
Source:
Industry Reference:CVE-2008-0086
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable?
Vulnerability Description Microsoft SQL Server is a relational database management system (RDBMS). Microsoft SQL Server uses Transact-SQL (T-SQL), a proprietor extension to Structured Query Language (SQL), for querying and modifying data and managing databases. SQL Server can be remotely accessed via the Tabular Data Stream (TDS) protocol, which accepts connection on TCP port 1433 by default. There exists a buffer overflow vulnerability in Microsoft SQL Server. The vulnerability is specifically caused by insufficient data validation when processing parameters passed to CONVERT function in an SQL statement. A remote authenticated attacker can exploit this vulnerability to execute arbitrary code with privileges of SQL Server process on the target system. 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 CONVERT Function 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 CONVERT function 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