BandSite CMS "root_path" File Inclusion Vulnerabilities
Secunia Advisory: SA20768
Release Date: 2006-06-21
Last Update: 2006-09-29
Popularity: 4,981 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:BandSite CMS 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3193
CVE-2006-4984


Description:
Some vulnerabilities have been reported in BandSite CMS, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "root_path" parameter in various scripts is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.

Successful exploitation requires that "register_globals" is enabled.

The following files are affected:
includes/content/contact_content.php
adminpanel/includes/add_forms/addbioform.php
adminpanel/includes/add_forms/addfliersform.php
adminpanel/includes/add_forms/addgenmerchform.php
adminpanel/includes/add_forms/addinterviewsform.php
adminpanel/includes/add_forms/addlinksform.php
adminpanel/includes/add_forms/addlyricsform.php
adminpanel/includes/add_forms/addmembioform.php
adminpanel/includes/add_forms/addmerchform.php
adminpanel/includes/add_forms/addmerchpicform.php
adminpanel/includes/add_forms/addmp3.php
adminpanel/includes/add_forms/addnewsform.php
adminpanel/includes/add_forms/addphotosform.php
adminpanel/includes/add_forms/addreleaseform.php
adminpanel/includes/add_forms/addreleasepicform.php
adminpanel/includes/add_forms/addrelmerchform.php
adminpanel/includes/add_forms/addreviewsform.php
adminpanel/includes/add_forms/addshowsform.php
adminpanel/includes/add_forms/addwearmerchform.php
adminpanel/includes/mailinglist/disphtmltbl.php
adminpanel/includes/mailinglist/dispxls.php
adminpanel/includes/mailinglist/mlist_xls.php

The vulnerabilities have been reported in version 1.1.1. Other version may also be affected.

Solution:
Set "register_globals" to "Off" for this application (e.g. with a .htaccess file).

NOTE: The vulnerabilities have been inadequately fixed in version 1.1.4 as it is possible to bypass the added security check by defining the GLOBALS[root_path] parameter instead. This has been confirmed in version 1.1.4.

Provided and/or discovered by:
Kw3[R]Ln and HACKERS PAL

Changelog:
2006-06-28: Added CVE reference.
2006-06-28: Updated "Solution" section.
2006-09-22: Updated the "Solution" section based on additional information provided by HACKERS PAL.
2006-09-29: Updated "Description" and "Solution" sections, and added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/1933


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 21 views
2. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 18 views
3. Microsoft Word Malformed Object Pointer Vulnerability // 18 views
4. Subdreamer Light Global Variables SQL Injection Vulnerability // 18 views
5. phpBB BBcode Script Insertion Vulnerability // 17 views
6. Drupal Multiple Vulnerabilities // 13 views
7. Drupal Multiple Vulnerabilities // 13 views
8. Microsoft Office Two Code Execution Vulnerabilities // 12 views
9. CS-Cart "cs_cookies" SQL Injection Vulnerability // 12 views
10. Drupal Content Construction Kit Script Insertion Vulnerabilities // 12 views