Campsite ArticleImage.php g_documentRoot Variable Remote File Inclusion

2006-10-13T18:15:53
ID OSVDB:34192
Type osvdb
Reporter OSVDB
Modified 2006-10-13T18:15:53

Description

Vulnerability Description

Campsite contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the ArticleImage.php script not properly sanitizing user input supplied to the 'g_documentRoot' 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.

Solution Description

Upgrade to version 2.6.2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

Campsite contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the ArticleImage.php script not properly sanitizing user input supplied to the 'g_documentRoot' 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.campware.org/ Vendor Specific News/Changelog Entry: http://code.campware.org/projects/campsite/query?milestone=2.6.2 Vendor Specific News/Changelog Entry: http://sourceforge.net/project/shownotes.php?release_id=459574&group_id=66936 Vendor Specific News/Changelog Entry: http://code.campware.org/projects/campsite/changeset/6058 Vendor Specific News/Changelog Entry: http://code.campware.org/projects/campsite/ticket/2349 Vendor Specific News/Changelog Entry: http://code.campware.org/projects/campsite/changeset/6057 Related OSVDB ID: 34185 CVE-2006-5911