Secunia Logo
Netsikker nu! 2008
 
DeluxeBB SQL Injection and File Inclusion Vulnerabilities
Secunia Advisory: SA20152
Release Date: 2006-06-14
Last Update: 2006-06-29
Popularity: 5,338 views

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

Software:DeluxeBB 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2914
CVE-2006-2915


Description:
Secunia Research has discovered some vulnerabilities in DeluxeBB, which can be exploited by malicious people to conduct SQL injection attacks and compromise a vulnerable system.

1) Input passed to the "templatefolder" parameter in various scripts isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources.

Examples:
http://[host]/templates/deluxe/postreply.php?templatefolder=[file]
http://[host]/templates/deluxe/posting.php?templatefolder=[file]
http://[host]/templates/deluxe/pm/newpm.php?templatefolder=[file]
http://[host]/templates/default/postreply.php?templatefolder=[file]
http://[host]/templates/default/posting.php?templatefolder=[file]
http://[host]/templates/default/pm/newpm.php?templatefolder=[file]

Successful exploitation requires that "register_globals" is enabled.

2) Input passed to the "hideemail", "languagex", "xthetimeoffset", and "xthetimeformat" parameters when registering for an account 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 1.06. Other versions may also be affected.

Solution:
1) The vulnerabilities have been partially fixed in version 1.07 by filtering the "http:" and "ftp:" fopen wrappers. It is however still possible to include arbitrary files from local resources.

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

2) The vulnerabilities have been fixed in an updated 1.07 version.

Provided and/or discovered by:
Andreas Sandblad, Secunia Research

Changelog:
2006-06-26: Updated "Solution" section.
2006-06-29: Updated "Solution" section.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2006-44/advisory/


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. phpBB "gen_rand_string()" Predictable RNG Weakness // 24 views
2. CA ARCserve Backup Multiple Vulnerabilities // 24 views
3. phpJobScheduler "installed_config_file" File Inclusion Vulnerabilities // 23 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 22 views
5. Red Hat update for cups // 20 views
6. phpBB Avatar Script Insertion Vulnerability // 19 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 19 views
8. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 18 views
9. CUPS Multiple Vulnerabilities // 18 views
10. Opera Multiple Vulnerabilities // 18 views