|
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.
|