tinyBB SQL Injection and File Inclusion Vulnerabilities
Secunia Advisory: SA20356
Release Date: 2006-05-29
Last Update: 2006-06-07
Popularity: 4,913 views

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

Software:tinyBB 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2739
CVE-2006-2740
CVE-2006-2741


Description:
Mustafa Can Bjorn has discovered some vulnerabilities in tinyBB, which can be exploited by malicious people to conduct SQL injection attacks and to compromise a vulnerable system.

1) Input passed to the "tinybb_footers" parameter in footers.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.

2) Input passed to the "username" and "password" parameters in login_form.php, and to the "q" parameter in forgot.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerabilities have been confirmed in version 0.3. Other versions may also be affected.

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

Provided and/or discovered by:
Mustafa Can Bjorn

Changelog:
2006-06-07: Added CVE references.

Original Advisory:
http://www.nukedx.com/?viewdoc=33


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. Microsoft Office Two Code Execution Vulnerabilities // 21 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 16 views
3. phpBB Multiple Vulnerabilities // 12 views
4. Drupal Content Construction Kit Script Insertion Vulnerabilities // 12 views
5. phpBB "gen_rand_string()" Predictable RNG Weakness // 12 views
6. Apple QuickTime Multiple Vulnerabilities // 11 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 10 views
8. XASTIR Insecure Temporary Files // 10 views
9. phpBB reveals user IPs // 10 views
10. Microsoft Office Excel Multiple Vulnerabilities // 10 views