CVE-2002-0056
CVSS7.5
发布时间 :2002-03-08 00:00:00
修订时间 :2016-10-17 22:15:38
NMCOS    

[原文]Buffer overflow in SQL Server 7.0 and 2000 allows remote attackers to execute arbitrary code via a long OLE DB provider name to (1) OpenDataSource or (2) OpenRowset in an ad hoc connection.


[CNNVD]Microsoft数据库OLE DB提供商名缓冲区溢出漏洞(CNNVD-200203-026)

        SQL Server 7.0和2000版本存在缓冲区溢出漏洞。远程攻击者借助超长OLE DB提供商名到(1)OpenDataSource或者(2)点对点连接的OpenRowset执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

cpe:/a:microsoft:sql_server:2000Microsoft SQL Server 2000
cpe:/a:microsoft:sql_server:7.0Microsoft SQLServer 7.0

- OVAL (用于检测的技术细节)

oval:org.mitre.oval:def:271SQL Server OpenDataSource/OpenRowset Buffer Overflow
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0056
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2002-0056
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200203-026
(官方数据源) CNNVD

- 其它链接及资源

http://marc.info/?l=bugtraq&m=101422555428036&w=2
(UNKNOWN)  BUGTRAQ  20020219 MSDE, Sql Server 7 & 2000 Adhoc Heterogenous Queries Buffer Overflow and DOS
http://marc.info/?l=vuln-dev&m=101413924631329&w=2
(UNKNOWN)  VULN-DEV  20020219 MSDE, Sql Server 7 & 2000 Adhoc Heterogenous Queries Buffer Overflow and DOS
http://www.kb.cert.org/vuls/id/619707
(UNKNOWN)  CERT-VN  VU#619707
http://www.microsoft.com/technet/security/bulletin/MS02-007.asp
(VENDOR_ADVISORY)  MS  MS02-007
http://www.securityfocus.com/bid/4135
(UNKNOWN)  BID  4135

- 漏洞信息

Microsoft数据库OLE DB提供商名缓冲区溢出漏洞
高危 缓冲区溢出
2002-03-08 00:00:00 2006-09-01 00:00:00
远程  
        SQL Server 7.0和2000版本存在缓冲区溢出漏洞。远程攻击者借助超长OLE DB提供商名到(1)OpenDataSource或者(2)点对点连接的OpenRowset执行任意代码。

- 公告与补丁

        Microsoft has released fixes:
        Microsoft SQL Server 2000 SP2
        
        Microsoft SQL Server 7.0 SP3
        
        Microsoft SQL Server 7.0 SP3 alpha
        

- 漏洞信息

10142
Microsoft SQL Server OpenDataSource OLE DB Provider Name Overflow
Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2002-02-19 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Microsoft SQL Server OLE DB Provider Name Buffer Overflow Vulnerability
Boundary Condition Error 4135
Yes No
2002-02-19 12:00:00 2009-07-11 10:56:00
This vulnerability was submitted to BugTraq on February 19th, 2002 by c c <cesarc56@yahoo.com>.

- 受影响的程序版本

Microsoft SQL Server 2000 SP2
Microsoft SQL Server 2000 SP1
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
Microsoft SQL Server 2000
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0
Microsoft SQL Server 7.0 SP3 alpha
Microsoft SQL Server 7.0 SP3
- Microsoft SQL Server 7.0
- Microsoft SQL Server 7.0
Microsoft SQL Server 7.0 SP2 alpha
Microsoft SQL Server 7.0 SP2
- Microsoft SQL Server 7.0
- Microsoft SQL Server 7.0
Microsoft SQL Server 7.0 SP1 alpha
Microsoft SQL Server 7.0 SP1
- Microsoft SQL Server 7.0
- Microsoft SQL Server 7.0
Microsoft SQL Server 7.0 alpha
Microsoft SQL Server 7.0
- Microsoft BackOffice 4.5
- Microsoft BackOffice 4.5
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
- Microsoft Windows NT 4.0

- 漏洞讨论

Microsoft SQL Server does not perform proper bounds checking of the provider arguments to the OpenDataSource and OpenRowset functions. As a result, it is possible to cause a buffer overflow condition to occur by providing an excessively long string as a provider name in a query.

Successful exploitation may allow an attacker to execute arbitrary code with the privileges of the database.

There is a possibility that this issue may be exploited remotely, either via a distributed SQL queries or potentially via a SQL injection attack.

- 漏洞利用

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

Microsoft has released fixes:


Microsoft SQL Server 7.0 SP3

Microsoft SQL Server 7.0 SP3 alpha

Microsoft SQL Server 2000 SP2

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站