Check Point Advisories

MS-SQL Server Sp_replwritetovarbin Stored Procedure Buffer Overflow (CVE-2008-5416)

Check Point Reference: CPAI-2008-189
Date Published: 16 Dec 2008
Severity: Critical
Last Updated: Tuesday 16 December, 2008
Source:
Industry Reference:CVE-2008-5416
Protection Provided by:

Security Gateway
R81, R80, R77, R75, R71, R70, R65

Who is Vulnerable?
Vulnerability Description Microsoft SQL Server is a relational database management system (RDBMS). A buffer overflow vulnerability has been reported in Microsoft SQL Server. The vulnerability is due to an error in the Microsoft SQL Server when calling the extended stored procedure sp_replwritetovarbin with a set of crafted parameters. To exploit this issue, an attacker may create a malicious script and send it to a target server, triggering memory overwrite. Successful exploitation would cause a denial of service and may allow execution of arbitrary code on a vulnerable system.

Protection Overview

This protection will detect and block the transferring of suspicious SQL script.

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 / R71 / R70 / R65

  1. In the IPS tab, click Protections and find the MS-SQL Server Sp_replwritetovarbin Stored Procedure Buffer Overflow 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:  MS-SQL server sp_replwritetovarbin stored procedure buffer overflow

×
  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