Secunia Logo
 
DeluxeBB SQL Injection and File Inclusion Vulnerabilities
Secunia Advisory: SA20152
Release Date: 2006-06-14
Last Update: 2006-06-29
Popularity: 5,493 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. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 87 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 57 views
3. Microsoft Office Communications Server SIP INVITE Denial of Service // 49 views
4. Ocean12 FAQ Manager Pro "ID" SQL Injection Vulnerability // 39 views
5. ASPReferral "AccountID" SQL Injection Vulnerability // 38 views
6. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 38 views
7. Debian update for wireshark // 38 views
8. Basic PHP CMS "id" SQL Injection Vulnerability // 37 views
9. Active Trade "username" and "password" SQL Injection Vulnerabilities // 37 views
10. Slackware update for ruby // 37 views