Claroline moodle.inc.php clarolineRepositorySys Variable Remote File Inclusion

2006-05-08T09:17:34
ID OSVDB:25325
Type osvdb
Reporter Kevin Fernandez (Siegfried)(admin@zone-h.fr)
Modified 2006-05-08T09:17:34

Description

Vulnerability Description

Claroline contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to claroline/auth/extauth/drivers/moodle.inc.php not properly sanitizing user input supplied to the 'clarolineRepositorySys' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

Technical Description

This vulnerability is only present when the register_globals PHP option is set to 'on'. This has not been the default setting for PHP installs since version 4.2.0 (22-Apr-2002).

Solution Description

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround: set the register_globals PHP option to 'off'

Short Description

Claroline contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to claroline/auth/extauth/drivers/moodle.inc.php not properly sanitizing user input supplied to the 'clarolineRepositorySys' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

References:

Vendor URL: http://www.claroline.net/ Secunia Advisory ID:20003 Related OSVDB ID: 25316 Related OSVDB ID: 25329 Related OSVDB ID: 25315 Related OSVDB ID: 25317 Related OSVDB ID: 25318 Related OSVDB ID: 25321 Related OSVDB ID: 25323 Related OSVDB ID: 25324 Related OSVDB ID: 25326 Related OSVDB ID: 25328 Related OSVDB ID: 25319 Related OSVDB ID: 25320 Related OSVDB ID: 25322 Related OSVDB ID: 25327 Other Advisory URL: http://milw0rm.com/exploits/1766 Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2006-05/0211.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-05/0137.html CVE-2006-7048