Check Point Advisories

Microsoft SQL Server Backup Restoring Memory Corruption (MS08-040; CVE-2008-0107)

Check Point Reference: CPAI-2008-312
Date Published: 16 Jun 2010
Severity: Critical
Last Updated: Wednesday 16 June, 2010
Source:
Industry Reference:CVE-2008-0107
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 proprietary extension to Structured Query Language (SQL), for querying and modifying data and managing databases. SQL Server can be remotely access via the Tabular Data Stream (TDS) protocol, which accepts connection on TCP port 1433 or 1434 by default. A memory corruption vulnerability exists in Microsoft SQL Server. The vulnerability is due to an improper checks when parsing records in backup database. A local or remote authenticated attacker could exploit the vulnerability by issuing a certain command with the path to a malicious backup file placed on local filesystem, SMB share or WebDAV. Successful exploitation would cause a memory corruption condition which may lead to arbitrary code injection and execution in the security context of the SQL Server, normally System for SQL Server 2000 and earlier. In case of an attack where code injection is not successful, the SQL Server process will terminate. In case of an attack where code injection and execution is successful, the behavior 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.

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 Backup Restoring Memory Corruption (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 backup restoring memory corruption (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