This application requires Javascript for optimal performance.

Microsoft SQL Server Memory Corruption Vulnerability

Summary:

A specially crafted stored procedure call can allow a memory write to a controlled location, leading to execution of arbitrary code.

Impact:

Remote code execution.

Risk:
  • Critical

Affected Software:

For a list of SQL Server versions affected, please see the Microsoft Security Advisory reference below.

Additional Information:

The vulnerability lies in the extended stored procedure "sp_replwritetovarbin", and can be triggered by supplying overly long parameters. The resulting write can potentially allow execution of arbitrary code. By default, the aforementioned stored procedure is accessible to any authenticated users. Alternatively, the vulnerability may be leveraged through SQL injection.

Solutions:
  • The FortiGuard Global Security Research Team created the IPS signature "MS.SQL.Server.Sp_replwritetovarbin.Memory.Overwrite", which covers this specific vulnerability.

Fortinet customers who subscribe to Fortinet’s intrusion prevention (IPS) service should be protected against this invalid pointer reference vulnerability. Fortinet’s IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by the FortiGuard Global Security Research Team, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.

References: