----------------------------------------------------------------------

Want to join the Secunia Security Team?

Secunia offers a position as a security specialist, where your daily
work involves reverse engineering of software and exploit code,
auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/

----------------------------------------------------------------------

TITLE:
BandSite CMS "root_path" File Inclusion Vulnerabilities

SECUNIA ADVISORY ID:
SA20768

VERIFY ADVISORY:
http://secunia.com/advisories/20768/

CRITICAL:
Highly critical

IMPACT:
System access

WHERE:
>From remote

SOFTWARE:
BandSite CMS 1.x
http://secunia.com/product/10599/

DESCRIPTION:
Kw3[R]Ln has reported some vulnerabilities in BandSite CMS, which can
be exploited by malicious people to compromise a vulnerable system.

1) Input passed to the "root_path" parameter in
includes/content/contact_content.php 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.

2) Input passed to the "root_path" parameter in multiple files under
the "adminpanel" directory is also 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.

Affected files:

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/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

Successful exploitation requires access to the "adminpanel" directory
and that "register_globals" is enabled.

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

SOLUTION:
Edit the source code to ensure that input is properly verified.

PROVIDED AND/OR DISCOVERED BY:
Kw3[R]Ln

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/1933

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------