[翻译]SQL Injection Vulnerability In IBProArcade
本文作者: 剑心[B.C.T] [url]http://www.bnso.net/[/url]文章出处: 原创翻译
阅读次数: 9
发布日期: 2005-1-1
漏洞内容:IBProArcade的sql注入漏洞
发布日期:2004.12.31下午1:19
公告来源:[url]http://www.securityfocus.com/archive/1/385851[/url]
公告作者:mike bailey
公告ID号:<20041231131901.12315.qmail@[url]www.securityfocus.com>[/url]
在IbProArcade中的最高历史记录模块存在一个权限,从而允许在使用的数据库里执行恶意的sql代码。漏洞威胁:[url]http://www.ibproarcade.com/index.php?act=Arcade&do=stats&gameid=104FOO[/url]在以下的目录里修补该漏洞.打开sources/Arcade.php文件,寻找如下代码
[code]
//----------------------------------------
// Show_Stats
//
// This shows the leaderboard
//
//----------------------------------------
function show_stats() {
global $ibforums, $DB, $std;[/code]
Directly under that, add..
[code]if(!is_numeric($ibforums->input['gameid']))
{
$std->Error( array( 'LEVEL' => 1, 'MSG' => 'dont_try_it') );
}[/code]
then open up your lang/en/lang_Arcade.php file scroll down to the bottom where you
will find
[code] );
?>[/code]
right above that, add this:
[code]
#security
dont_try_it => "I don't think so annie."[/code]
And you're set. 十分感谢 虾子阿饼 经常发漏洞翻译到EST 修改头衔论坛贵宾 [quote][b]下面是引用冰血封情于2005-01-02 02:16发表的:[/b]
十分感谢 虾子阿饼 经常发漏洞翻译到EST 修改头衔论坛贵宾[/quote]
你还不如把BugReport包给我做算了!哈哈哈!!!
我们小组都是针对Web程序的漏洞翻译啊!所以不是天天都有新东西啊!
页:
[1]