CVE-2002-0624
CVSS7.5
发布时间 :2002-07-23 00:00:00
修订时间 :2008-09-10 15:12:36
NMCOES    

[原文]Buffer overflow in the password encryption function of Microsoft SQL Server 2000, including Microsoft SQL Server Desktop Engine (MSDE) 2000, allows remote attackers to gain control of the database and execute arbitrary code via SQL Server Authentication, aka "Unchecked Buffer in Password Encryption Procedure."


[CNNVD]Microsoft SQL Server 2000口令加密过程远程缓冲区溢出漏洞(MS02-034)(CNNVD-200207-083)

        
        Microsoft SQL Server 2000是微软公司开发和维护的一种商业SQL数据库系统。
        MS-SQL 2000的口令加密过程实现上存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞在目标系统上执行任意指令。
        在MS-SQL 2000的口令加密过程被管理员用来储存SQL服务器的认证信息,其实现存在缓冲区溢出漏洞,一个未检查边界的数据拷贝操作会导致缓冲区溢出。远程攻击者可能通过提交超长的输入数据进行溢出攻击从而执行任意指令。SQL服务器进程的运行权限是管理员指定的,默认情况下是一个域用户的权限,如果攻击者攻击成功就可以取得相应的权限。要利用此漏洞攻击者必须能先合法地登录进SQL服务,然后发起查询操作。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:microsoft:msde:2000Microsoft sql_server_desktop_engine 2000
cpe:/a:microsoft:sql_server:2000Microsoft SQL Server 2000

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

oval:org.mitre.oval:def:291Unchecked Buffer in Password Encryption Procedure
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

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

- 其它链接及资源

http://www.cert.org/advisories/CA-2002-22.html
(UNKNOWN)  CERT  CA-2002-22
http://www.microsoft.com/technet/security/bulletin/ms02-034.asp
(VENDOR_ADVISORY)  MS  MS02-034

- 漏洞信息

Microsoft SQL Server 2000口令加密过程远程缓冲区溢出漏洞(MS02-034)
高危 边界条件错误
2002-07-23 00:00:00 2006-09-01 00:00:00
本地  
        
        Microsoft SQL Server 2000是微软公司开发和维护的一种商业SQL数据库系统。
        MS-SQL 2000的口令加密过程实现上存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞在目标系统上执行任意指令。
        在MS-SQL 2000的口令加密过程被管理员用来储存SQL服务器的认证信息,其实现存在缓冲区溢出漏洞,一个未检查边界的数据拷贝操作会导致缓冲区溢出。远程攻击者可能通过提交超长的输入数据进行溢出攻击从而执行任意指令。SQL服务器进程的运行权限是管理员指定的,默认情况下是一个域用户的权限,如果攻击者攻击成功就可以取得相应的权限。要利用此漏洞攻击者必须能先合法地登录进SQL服务,然后发起查询操作。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * 严格控制对用户对SQL服务器的访问,只允许可信用户登录查询SQL服务。
        厂商补丁:
        Microsoft
        ---------
        Microsoft已经为此发布了一个安全公告(MS02-034)以及相应补丁:
        MS02-034:Cumulative Patch for SQL Server (Q316333)
        链接:
        http://www.microsoft.com/technet/security/bulletin/MS02-034.asp

        补丁下载:
         * Microsoft SQL Server 2000:
        
        http://support.microsoft.com/support/misc/kblookup.asp?id=Q316333

- 漏洞信息 (21549)

Microsoft SQL Server 2000 Password Encrypt Procedure Buffer Overflow Vulnerability (EDBID:21549)
windows local
2002-06-14 Verified
0 Martin Rakhmanoff
N/A [点击下载]
source: http://www.securityfocus.com/bid/5014/info

A buffer overflow vulnerability has been reported in SQL Server 2000. The vunerability is a result of an unchecked buffer when using the password encrypt procedure. This procedure is used by administrators to provides support for the storage of SQL Server Authentication credentials.

The overrun condition is due to an unbounded data copy operation that occurs when processing the procedure arguments. Attackers may exploit this vulnerability by invoking the password encrypt procedure with excessive input.

SELECT pwdencrypt(REPLICATE('A',353))		

- 漏洞信息

10158
Microsoft SQL Server Password Encryption Procedure Overflow
Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2002-06-14 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Microsoft SQL Server 2000 Password Encrypt Procedure Buffer Overflow Vulnerability
Boundary Condition Error 5014
No Yes
2002-06-14 12:00:00 2009-07-11 01:56:00
This issue was reported by martin rakhmanoff <jimmers@yandex.ru>.

- 受影响的程序版本

Microsoft SQL Server 2000 Desktop Engine
+ Akiva WebBoard 6.1
+ Microsoft Access 2000
+ Microsoft Application Center 2000
+ Microsoft BizTalk Server 2000 Developer Edition
+ Microsoft BizTalk Server 2000 Enterprise Edition
+ Microsoft BizTalk Server 2000 Standard Edition
+ Microsoft BizTalk Server 2002 Developer Edition
+ Microsoft BizTalk Server 2002 Enterprise Edition
+ Microsoft Office 2000
+ Microsoft Project Central Server
+ Microsoft SharePoint Team Services from Microsoft
+ Microsoft Visio 2000 Enterprise Edition
+ Microsoft Visio Enterprise Network Tools
+ Microsoft Visual FoxPro 6.0
+ Microsoft Visual Studio 6.0
+ Microsoft Visual Studio .NET Academic Edition 0
+ Microsoft Visual Studio .NET Enterprise Architect Edition
+ Microsoft Visual Studio .NET Enterprise Developer Edition
+ Microsoft Visual Studio .NET Professional Edition
+ SmartMax Software MailMax 5.0
+ Veritas Software Backup Exec for Windows Servers 9.0
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 2000 SP3

- 不受影响的程序版本

Microsoft SQL Server 2000 SP3

- 漏洞讨论

A buffer overflow vulnerability has been reported in SQL Server 2000. The vunerability is a result of an unchecked buffer when using the password encrypt procedure. This procedure is used by administrators to provides support for the storage of SQL Server Authentication credentials.

The overrun condition is due to an unbounded data copy operation that occurs when processing the procedure arguments. Attackers may exploit this vulnerability by invoking the password encrypt procedure with excessive input.

This issue may be related to the vulnerabilities reported in Bugtraq ID 4847.

- 漏洞利用

The following proof-of-concept was submitted:

SELECT pwdencrypt(REPLICATE('A',353))

Currently we 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;.

- 解决方案

Fixes available:


Microsoft SQL Server 2000

Microsoft SQL Server 2000 SP1

Microsoft SQL Server 2000 Desktop Engine

Microsoft SQL Server 2000 SP2

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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