Campsite "g_campsiteDir" Remote and Local File Inclusion Vulnerabilities


Description   Multiple vulnerabilities have been identified in Campsite, which could be exploited by remote attackers to execute arbitrary commands or disclose sensitive information.
The first issue is caused by input validation errors in the "admin-files/ad_popup.php", "admin-files/camp_html.php", "admin-files/init_content.php", "admin-files/logout.php", "admin-files/menu.php", "admin-files/set-author.php", "conf/liveuser_configuration.php", "include/phorum_load.php", "admin-files/article_import/CommandProcessor.php", "admin-files/article_import/index.php", "admin-files/articles/add.php", "admin-files/articles/add_move.php", "admin-files/articles/autopublish.php", and "admin-files/articles/autopublish_del.php" scripts when processing the "g_campsiteDir" parameter, which could be exploited by remote attackers to include malicious scripts and execute arbitrary commands with the privileges of the web server.
The second vulnerability is caused by an input validation error in the "admin-files/ad.php" script when processing the "g_campsiteDir" parameter, which could be exploited by remote attackers to include or disclose the contents of local files with the privileges of the web server.
The third issue is caused by an input validation error in the "admin-files/templates/list_dir.php" script when processing the "listbasedir" parameter, which could be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser in the security context of an affected Web site.
     
Vulnerable Products   Vulnerable Software:
Campsite version 3.3.0 RC1 and prior
     
Solution  
     
CVE   CVE-2009-2183
CVE-2009-2182
CVE-2009-2181
     
References   http://milw0rm.com/exploits/8995
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious tag with event found in data
3.2.0
Misc : Directory traversal - parameter starting with ../
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - POST : suspicious 'object' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
PHP : Remote file inclusion prevention : suspicious root_path parameter found in URL
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
Directory traversal using ..\..
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - POST : javascript code found in data
3.2.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
3.2.0
Directory traversal
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
PHP : Remote file inclusion prevention : URL found as parameter
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - POST : suspicious 'div' tag found in data
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
Directory traversal backward root folder
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - POST : 'script' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2009-06-23 

 Target Type 
Client + Server 

 Possible exploit 
Local & Remote