|
 |
|
DeluxeBB SQL Injection and File Inclusion Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA20152
|
|
|
Release Date:
|
2006-06-14
|
|
Last Update:
|
2006-06-29
|
|
|
Critical:
|

Highly critical
|
|
Impact:
|
Manipulation of data System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | DeluxeBB 1.x
|
| | CVE reference: | CVE-2006-2914 (Secunia mirror) CVE-2006-2915 (Secunia mirror)
|
|
|
|
|
|
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/
|
|
|
|
|
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.
|
|
|
|
9 Related Secunia Security Advisories
|
|
|
1. DeluxeBB SQL Injection and PHP Code Execution
|
|
2. DeluxeBB Multiple Vulnerabilities
|
|
3. DeluxeBB "templatefolder" File Inclusion Vulnerability
|
|
4. DeluxeBB pm.php Authentication Bypass Vulnerability
|
|
5. DeluxeBB Multiple Vulnerabilities
|
|
6. DeluxeBB Cross-Site Scripting and SQL Injection
|
|
7. DeluxeBB Multiple File Extensions File Upload Vulnerability
|
|
8. DeluxeBB "name" SQL Injection Vulnerability
|
|
9. DeluxeBB SQL Injection Vulnerabilities
|
|
|
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.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|