TITLE:
phpBazar "language_dir" File Inclusion Vulnerability

SECUNIA ADVISORY ID:
SA20198

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

CRITICAL:
Highly critical

IMPACT:
System access

WHERE:
>From remote

SOFTWARE:
phpBazar 2.x
http://secunia.com/product/10057/

DESCRIPTION:
PHP Emperor has discovered a vulnerability in phpBazar, which can be
exploited by malicious people to compromise a vulnerable system.

Input passed to the "language_dir" parameter in
"classified_right.php" isn't properly verified, before it is used to
include files. This can be exploited to include arbitrary files from
external and local resources.

Successful exploitation requires that "register_globals" is enabled.

The vulnerability has been confirmed in version 2.1.0. Other versions
may also be affected.

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

Set "register_globals" to "Off".

PROVIDED AND/OR DISCOVERED BY:
PHP Emperor

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

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

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