Threat level definition
Search:
Home
Bugtraq
Vulnerabilities
Mailing Lists
Jobs
Tools
Beta Programs
News
Infocus
Foundations
Microsoft
Unix
IDS
Incidents
Virus
Pen-Test
Firewalls
Columnists
Mailing Lists
Newsletters
Bugtraq
Focus on IDS
Focus on Linux
Focus on Microsoft
Forensics
Pen-test
Security Basics
Vuln Dev
Vulnerabilities
Jobs
Job Opportunities
Resumes
Job Seekers
Employers
Tools
RSS
News
Vulns
Security Research
BugTraq
Back to list
|
Post reply
SQL Injection Vulnerability In IBProArcade
Dec 31 2004 01:19PM
mike bailey (mike ub3r net)
A flaw exists in the high scores module of IbProArcade which allows malicious SQL Code to be executed on the database the board & arcade use.
Demo: http://www.ibproarcade.com/index.php?act=Arcade&do=stats&gameid=104FOO
Fix this vuln by following the following directions...
open your sources/Arcade.php file
Find this code bit:
[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.
[ reply ]
Privacy Statement
Copyright 2008, SecurityFocus
A flaw exists in the high scores module of IbProArcade which allows malicious SQL Code to be executed on the database the board & arcade use.
Demo: http://www.ibproarcade.com/index.php?act=Arcade&do=stats&gameid=104FOO
Fix this vuln by following the following directions...
open your sources/Arcade.php file
Find this code bit:
[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.
[ reply ]