Re: Joomla J! Reactions Component Remote File include Bug

看板Bugtraq作者時間18年前 (2007/08/21 01:52), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
The entire langset.php file should be changed to: <?php defined( '_VALID_MOS' ) or die( 'Direct access is prohibited.' ); global $mosConfig_lang; if (file_exists("$comPath/custom/".$mosConfig_lang.".php")) { include("$comPath/custom/".$mosConfig_lang.".php"); } else { require("$comPath/custom/english.php"); } ?> The spam expolit occurs because the original file does not test VALID_MOS. This vulnerability exists in build 1.8.1 and earlier.
文章代碼(AID): #16oTJD00 (Bugtraq)
文章代碼(AID): #16oTJD00 (Bugtraq)