TITLE:
UBB.threads "thispath" Parameter File Inclusion Vulnerability

SECUNIA ADVISORY ID:
SA20242

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

CRITICAL:
Highly critical

IMPACT:
System access

WHERE:
>From remote

SOFTWARE:
UBB.threads 6.x
http://secunia.com/product/4379/

DESCRIPTION:
V4mu has discovered a vulnerability in UBB.threads, which can be
exploited by malicious people to compromise a vulnerable system.

Input passed to the "thispath" parameter in addpost_newpoll.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.

Example:
http://[host]/addpost_newpoll.php?addpoll=preview&thispath=[file]

Successful exploitation requires that "register_globals" is enabled.

The vulnerability has been confirmed in version 6.5.1.1 (trial) and
has also been reported in versions 6.4 through 6.5.2. Other versions
may also be affected.

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

Set "register_globals" to "Off".

PROVIDED AND/OR DISCOVERED BY:
V4mu

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

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

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

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