Secunia Logo  
 
UBB.threads Multiple Vulnerabilities
Secunia Advisory: SA20353
Release Date: 2006-05-30
Last Update: 2006-10-03
Popularity: 5,539 views

Critical:
Highly critical
Impact: Cross Site Scripting
Manipulation of data
System access
Where: From remote
Solution Status: Unpatched

Software:UBB.threads 5.x
UBB.threads 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2755
CVE-2006-2675
CVE-2006-5136
CVE-2006-5137
CVE-2006-5138


Description:
Some vulnerabilities have been discovered in UBB.threads, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system.

1) Input passed to the "myprefs[language]" parameter in includepollresults.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.

Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled.

2) Input passed to the "thispath" and "configdir" parameters in ubbt.inc.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]/ubbt.inc.php?GLOBALS[thispath]=[file]
http://[host]/ubbt.inc.php?GLOBALS[configdir]=[file]

Successful exploitation requires that "register_globals" is enabled, and that PHP 5.x or PHP versions prior to 4.1.0 is used.

3) Input passed to the "debug" parameter in ubbthreads.php and other scripts is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session on context of an affected site.

The vulnerabilities have been confirmed in version 6.5.1.1 (trial) and also reported in version 5.x. Other versions may also be affected.

4) Input passed to the "thispath" parameter in admin/doedittheme.php and admin/doeditconfig.php is not properly sanitised before being used. This can be exploited to overwrite arbitrary files on the system with privileges of the web server via directory traversal attacks.

5) Input passed to the "theme[]" parameter in admin/doedittheme.php and to the "config[]" parameter in admin/doeditconfig.php is not properly sanitised before being stored in a file. In combination with #4 this can be exploited to inject and execute arbitrary PHP code on a vulnerable system.

Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled.

The vulnerabilities have been confirmed in version 6.5.1.1 (trial). Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised and verified.

Set "register_globals" to "Off".

Provided and/or discovered by:
1,2,3) Mustafa Can Bjorn
3,4,5) HACKERS PAL

Changelog:
2006-06-08: Added CVE reference.
2006-08-04: Added CVE reference.
2006-10-02: Updated "Title" and "Description" section. Added additional information about vulnerabilities provided by HACKERS PAL.
2006-10-03: Added CVE references.

Original Advisory:
1-3) http://www.nukedx.com/?viewdoc=40


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. OpenBSD update for OpenSSL // 26 views
2. phpBB Avatar Script Insertion Vulnerability // 25 views
3. phpBB BBcode "url" Script Insertion Vulnerability // 24 views
4. Interstage HTTP Server mod_proxy_ftp Cross-Site Scripting // 22 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 21 views
6. Sun Solaris Samba "smbd" Information Disclosure Vulnerability // 20 views
7. Drupal Project Module File Upload and Cross-Site Scripting // 19 views
8. Ubuntu update for bind9 // 19 views
9. Serv-U Denial of Service Vulnerability // 18 views
10. Red Hat update for kernel // 17 views