|
![]() |
|
|
|
Vulnerability Note VU#696644Microsoft SQL Server fails to properly validate parameters to the sp_replwritetovarbin extended stored procedureOverviewA vulnerability in the Microsoft SQL Server sp_replwritetovarbin extended stored procedure could allow an authenticated attacker to execute arbitrary code on an affected server.I. DescriptionSome versions of Microsoft SQL Server contain a vulnerability in the sp_replwritetovarbin stored procedure. The vulnerability could allow an attacker to modify heap memory and potentially execute arbitrary code. The vulnerability is described in SEC Consult Security Advisory < 20081209-0 >. Microsoft Security Bulletin MS09-004 provides further details, including affected database versions and workarounds.In order to access sp_replwritetovarbin, an attacker would need to authenticate to the database first. A separate SQL injection vulnerability in a web application could allow a remote, unauthenticated attacker to exploit the sp_replwritetovarbin vulnerability with the user credentials of the web application. Microsoft Security Advisory (954462) provides detection and mitigation advice for SQL injection vulnerabilities. This issue is addressed in Microsoft Security Bulletin MS09-004.
References
This vulnerability was reported by Bernhard Mueller of SEC Consult Vulnerability Lab. This document was written by Chad R Dougherty and Art Manion.
If you have feedback, comments, or additional information about this vulnerability, please send us
email. |
|||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||