Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA33034

Microsoft SQL Server "sp_replwritetovarbin()" Buffer Overflow
Secunia Advisory SA33034
DOWNLOAD CSI


DOWNLOAD PSI
Release Date 2008-12-09
Last Update 2009-02-10
   
Popularity 18,830 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Privilege escalation
Where From local network
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Secunia PoC Available in Customer Area
Secunia analysis Available in Customer Area
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Operating System
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 Web Edition
Microsoft Windows Server 2008
Microsoft Windows Storage Server 2003

Software:
Microsoft SQL Server 2000
Microsoft SQL Server 2000 Desktop Engine (MSDE 2000)
Microsoft SQL Server 2005
Microsoft SQL Server 2005 Express Edition

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-4270 CVSS available in Customer Area
CVE-2008-5416 CVSS available in Customer Area
  

Description

Bernhard Mueller has discovered a vulnerability in Microsoft SQL Server, which can be exploited by malicious users to gain escalated privileges.

The vulnerability is caused due to a boundary error in the implementation of the "sp_replwritetovarbin()" SQL procedure. This can be exploited to cause a heap-based buffer overflow via specially crafted arguments passed to the affected procedure.

Successful exploitation may allow execution of arbitrary code with escalated privileges.

The vulnerability is confirmed in Microsoft SQL Server 2000 version 8.00.2050 and Microsoft SQL Server 2005 Express Edition version 9.2.3042.00. Please see vendor advisory for a list of additionally affected products.


Solution
Apply patches.
Further details available in Customer Area

Provided and/or discovered by
Bernhard Mueller, SEC Consult.

Changelog
Further details available in Customer Area

Original Advisory
MS09-004 (KB959420, KB960082, KB960083, KB960089, KB960090):
http://www.microsoft.com/technet/security/Bulletin/MS09-004.mspx

Microsoft (KB961040):
http://www.microsoft.com/technet/security/advisory/961040.mspx

SEC Consult:
http://www.sec-consult.com/files/20081209_mssql-2000-sp_replwritetovarbin_memwrite.txt

Other references
Further details available in Customer Area

Alternate/detailed remediation
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Microsoft SQL Server "sp_replwritetovarbin()" Buffer Overflow
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability