CVE-2006-3862
CVSS7.5
发布时间 :2006-08-08 18:04:00
修订时间 :2016-08-30 21:59:10
NMCOP    

[原文]Buffer overflow in IBM Informix Dynamic Server (IDS) 9.40.TC5 through 9.40.xC7 and 10.00.TC1 through 10.00.xC3 allows attackers to execute arbitrary code via the SQLIDEBUG environment variable (envariable).


[CNNVD]运行在Linux上Informix setuid root程序溢出漏洞(CNNVD-200608-103)

        Informix Dynamic Server(IDS)是一款由IBM开发的数据库
        运行在Linux上Informix的大多数setuid root程序中都存在溢出漏洞。以下形式的超长SQLIDEBUG环境变量:
        SQLIDEBUG=1:/long-file-name
        在超长filename的272-6字节处栈中所保存的返回地址会被覆盖。
        
        

- CVSS (基础分值)

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

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

cpe:/a:ibm:informix_dynamic_server:10.0.tc1IBM Informix IDS 10.0.TC1
cpe:/a:ibm:informix_dynamic_server:9.40.uc5IBM Informix IDS 9.40.UC5
cpe:/a:ibm:informix_dynamic_server:9.40.tc5IBM Informix IDS 9.40.TC5
cpe:/a:ibm:informix_dynamic_server:9.40.xc5IBM Informix IDS 9.40.xC5
cpe:/a:ibm:informix_dynamic_server:10.0.xc1IBM Informix IDS 10.0.xC1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://secunia.com/advisories/21301
(UNKNOWN)  SECUNIA  21301
http://www-1.ibm.com/support/docview.wss?uid=swg21242921
(PATCH)  CONFIRM  http://www-1.ibm.com/support/docview.wss?uid=swg21242921
http://www.databasesecurity.com/informix/DatabaseHackersHandbook-AttackingInformix.pdf
(UNKNOWN)  MISC  http://www.databasesecurity.com/informix/DatabaseHackersHandbook-AttackingInformix.pdf
http://www.securityfocus.com/archive/1/archive/1/443133/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060814 Informix - Discovery, Attack and Defense
http://www.securityfocus.com/archive/1/archive/1/443165/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060814 SQLIDEBUG envariable overflow on Informix
http://www.securityfocus.com/bid/19264
(UNKNOWN)  BID  19264
http://www.vupen.com/english/advisories/2006/3077
(UNKNOWN)  VUPEN  ADV-2006-3077
http://xforce.iss.net/xforce/xfdb/28158
(UNKNOWN)  XF  informix-sqlidebug-bo(28158)

- 漏洞信息

运行在Linux上Informix setuid root程序溢出漏洞
高危 缓冲区溢出
2006-08-08 00:00:00 2006-08-15 00:00:00
远程※本地  
        Informix Dynamic Server(IDS)是一款由IBM开发的数据库
        运行在Linux上Informix的大多数setuid root程序中都存在溢出漏洞。以下形式的超长SQLIDEBUG环境变量:
        SQLIDEBUG=1:/long-file-name
        在超长filename的272-6字节处栈中所保存的返回地址会被覆盖。
        
        

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        http://support.novell.com/security-alerts

- 漏洞信息 (F49299)

NISR02082006G.txt (PacketStormID:F49299)
2006-08-27 00:00:00
David Litchfield  ngssoftware.com
advisory,overflow,root
CVE-2006-3862
[点击下载]

NGSSoftware Insight Security Research Advisory - Informix Dynamic Server is a database developed by IBM. During a security assessment of Informix it was discovered that an overflow could be triggered in a shared library with the SQLIDEBUG environment variable. This can be triggered to gain root privileges by accessing one of the setuid root binaries such as onmode. Versions affected include 9.40.xC6 and earlier and 10.00.xC2, C1.

NGSSoftware Insight Security Research Advisory

Name: SQLIDEBUG envariable overflow on Informix
Systems Affected: 9.40.xC6 and earlier and 10.00.xC2, C1
Severity: High
Vendor URL: http://www.ibm.com/
Author: David Litchfield [ davidl@ngssoftware.com ]
Date of Public Advisory: 2nd August 2006
Advisory number: #NISR02082006G
CVEID: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3862
Advisory URL: http://www.ngssoftware.com/research/

Description
***********
Informix Dynamic Server is a database developed by IBM. During a security 
assessment of Informix it was discovered that an overflow could be triggered 
in a shared library with the SQLIDEBUG environment variable. This can be 
triggered to gain root privileges by accessing one of the setuid root 
binaries such as onmode.

Details
*******
There's a buffer overflow in most of the setuid root programs in Informix 
running on Linux. The problem arises due to an overly long SQLIDEBUG 
environment variable of the form

SQLIDEBUG=1:/long-file-name

At bytes 272-6 in the long "filename" the saved return address on the stack 
is overwritten.



Fix Information
***************
IBM was alerted to this flaw on the 13th January 2005. Patches have now been 
made available.

NGSSQuirreL for Informix, an advanced vulnerability assessment scanner 
designed specifically for Informix, can be used to accurately determine 
whether your servers are vulnerable to this flaw. More information about 
NGSSQuirreL for Informix can be found here 
http://www.ngssoftware.com/products/database-security/ngs-squirrel-informix.php

About NGSSoftware
*****************

NGSSoftware develops vulnerability assessment and compliancy tools for 
database servers including Oracle, Microsoft SQL Server, DB2, Sybase and 
Informix. Headquartered in the United Kingdom NGS has offices in London, St. 
Andrews (UK), Sydney, Brisbane, and Perth (Australia) and Texas in the 
United States; NGSConsulting provide services to some of the largest and 
most demanding organizations around the globe.

http://www.ngssoftware.com/

Telephone +44 208 401 0070
Fax +44 208 401 0076

enquiries@ngssoftware.com


    

- 漏洞信息

27694
IBM Informix Dynamic Server SQLIDEBUG Environment Variable Overflow
Location Unknown Input Manipulation
Loss of Integrity
Exploit Unknown

- 漏洞描述

Informix Dynamic Server contains an unspecified flaw related to an overflow in the SQLIDEBUG environment variable that may allow an attacker to execute arbitrary code. No further details have been provided.

- 时间线

2006-07-31 2005-01-10
Unknow Unknow

- 解决方案

Upgrade to version 9.40.xC7, 10.00.xC3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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