CVE-2003-1050
CVSS7.2
发布时间 :2004-09-28 00:00:00
修订时间 :2008-09-05 16:35:54
NMCOES    

[原文]Multiple buffer overflows in IBM DB2 Universal Database 8.1 may allow local users to execute arbitrary code via long command line arguments to (1) db2start, (2) db2stop, or (3) db2govd.


[CNNVD]IBM DB2多个程序命令行参数缓冲区溢出漏洞(CNNVD-200409-072)

        
        IBM DB2是一个大型的商业关系数据库系统,面向电子商务、商业资讯、内容管理、客户关系管理等应用,可运行于AIX、HP-UX、Linux、Solaris、Windows等系统。
        IBM DB2多个程序对用户提交的参数缺少充分边界缓冲区检查,本地攻击者可以利用这些漏洞进行权限提升攻击。
        Linux平台下的IBM DB2包含的db2govd, db2start, 和db2stop二进制程序对命令行参数缺少充分边界检查,攻击者提交超长字符串作为参数给程序执行,可触发缓冲区溢出,精心构建提交数据可能以高权限在系统上执行任意指令。
        

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/13633
(VENDOR_ADVISORY)  XF  db2-multiple-binaries-bo(13633)
http://www.securityfocus.com/bid/8990
(VENDOR_ADVISORY)  BID  8990
http://www.securityfocus.com/archive/1/343804
(VENDOR_ADVISORY)  BUGTRAQ  20031108 SRT2003-11-06-0710 - IBM DB2 Multiple local security issues
http://www.secnetops.com/research/advisories/SRT2003-11-06-0710.txt
(UNKNOWN)  MISC  http://www.secnetops.com/research/advisories/SRT2003-11-06-0710.txt

- 漏洞信息

IBM DB2多个程序命令行参数缓冲区溢出漏洞
高危 边界条件错误
2004-09-28 00:00:00 2005-10-20 00:00:00
本地  
        
        IBM DB2是一个大型的商业关系数据库系统,面向电子商务、商业资讯、内容管理、客户关系管理等应用,可运行于AIX、HP-UX、Linux、Solaris、Windows等系统。
        IBM DB2多个程序对用户提交的参数缺少充分边界缓冲区检查,本地攻击者可以利用这些漏洞进行权限提升攻击。
        Linux平台下的IBM DB2包含的db2govd, db2start, 和db2stop二进制程序对命令行参数缺少充分边界检查,攻击者提交超长字符串作为参数给程序执行,可触发缓冲区溢出,精心构建提交数据可能以高权限在系统上执行任意指令。
        

- 公告与补丁

        厂商补丁:
        IBM
        ---
        IBM为V8数据库推出了Fixpack 4,IBM声称当前正在开发V7数据库的Fixpack 11 ,估计在11月中旬发行,用户可以通过如下地址检查Fixpack发行:
        
        http://www-3.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/download.d2w/report

- 漏洞信息 (23347)

IBM DB2 db2start Command Line Argument Local Overflow (EDBID:23347)
linux dos
2003-11-07 Verified
0 SNOSoft
N/A [点击下载]
source: http://www.securityfocus.com/bid/8990/info

IBM DB2 has been reported to be prone to multiple buffer overflow vulnerabilities that present themselves in binaries that are shipped with DB2. The vulnerabilities are likely caused due to a lack of sufficient boundary checks performed on user supplied command-line arguments before they are copied into a reserved buffer in memory. It has been reported that by supplying arguments of excessive length to the respective vulnerable executables a local attacker may trigger the execution of arbitrary attacker-supplied instructions with elevated privileges. 

[kf@RiotStarter adm]$ source /home/db2inst1/sqllib/db2profile
[kf@RiotStarter adm]$ ./db2start `perl -e 'print "A" x 9901'`
Segmentation fault		

- 漏洞信息 (23348)

IBM DB2 db2stop Command Line Argument Local Overflow (EDBID:23348)
linux dos
2003-11-07 Verified
0 SNOSoft
N/A [点击下载]
source: http://www.securityfocus.com/bid/8990/info
 
IBM DB2 has been reported to be prone to multiple buffer overflow vulnerabilities that present themselves in binaries that are shipped with DB2. The vulnerabilities are likely caused due to a lack of sufficient boundary checks performed on user supplied command-line arguments before they are copied into a reserved buffer in memory. It has been reported that by supplying arguments of excessive length to the respective vulnerable executables a local attacker may trigger the execution of arbitrary attacker-supplied instructions with elevated privileges. 

[kf@RiotStarter adm]$ ./db2stop `perl -e 'print "A" x 4001'`
Segmentation fault		

- 漏洞信息 (23349)

IBM DB2 db2govd Command Line Argument Local Overflow (EDBID:23349)
linux dos
2003-11-07 Verified
0 SNOSoft
N/A [点击下载]
source: http://www.securityfocus.com/bid/8990/info
  
IBM DB2 has been reported to be prone to multiple buffer overflow vulnerabilities that present themselves in binaries that are shipped with DB2. The vulnerabilities are likely caused due to a lack of sufficient boundary checks performed on user supplied command-line arguments before they are copied into a reserved buffer in memory. It has been reported that by supplying arguments of excessive length to the respective vulnerable executables a local attacker may trigger the execution of arbitrary attacker-supplied instructions with elevated privileges. 

[db2inst1@RiotStarter adm]$ ./db2govd stop a `perl -e 'print "A" x 65'`
Segmentation fault 		

- 漏洞信息

15998
IBM DB2 db2start Command Line Argument Local Overflow
Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2003-11-08 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

IBM DB2 Multiple Command-Line Argument Buffer Overflow Vulnerabilities
Boundary Condition Error 8990
No Yes
2003-11-07 12:00:00 2009-07-12 12:56:00
This vulnerability was discovered by SNOSoft.

- 受影响的程序版本

IBM DB2 Universal Database for Linux 8.1
IBM DB2 Universal Database for Linux 8.0
IBM DB2 Universal Database for Linux 7.2
IBM DB2 Universal Database for Linux 7.1
IBM DB2 Universal Database for Linux 7.0

- 漏洞讨论

IBM DB2 has been reported to be prone to multiple buffer overflow vulnerabilities that present themselves in binaries that are shipped with DB2. The vulnerabilities are likely caused due to a lack of sufficient boundary checks performed on user supplied command-line arguments before they are copied into a reserved buffer in memory. It has been reported that by supplying arguments of excessive length to the respective vulnerable executables a local attacker may trigger the execution of arbitrary attacker-supplied instructions with elevated privileges.

- 漏洞利用

The following proof of concept has been supplied:
[kf@RiotStarter adm]$ source /home/db2inst1/sqllib/db2profile
[kf@RiotStarter adm]$ ./db2start `perl -e 'print "A" x 9901'`
Segmentation fault
[kf@RiotStarter adm]$ ./db2stop `perl -e 'print "A" x 4001'`
Segmentation fault
[db2inst1@RiotStarter adm]$ ./db2govd stop a `perl -e 'print "A" x 65'`
Segmentation fault

- 解决方案

It has been reported that IBM has released Fixpack 4 for v8 of the database. IBM is also said to be currently developing Fixpack 11 for v7, which will be available in mid November 2003. This information has not yet been verified by Symantec. Until this information has been confirmed, users are advised to check the following URL for Fixpack releases.

http://www-3.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/download.d2w/report

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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