Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


DeluxeBB SQL Injection and File Inclusion Vulnerabilities Advisory Available in Danish 

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

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
AlstraSoft Video Share Enterprise "UID" SQL Injection
2.
tplSoccerSite Multiple SQL Injection Vulnerabilities
3.
MyBB Multiple Vulnerabilities
4.
Vim configure.in Insecure Temporary Files
5.
HP-UX update for bind
6.
BlackBerry Enterprise Server PDF Processing Vulnerability
7.
Joomla DT Register Component "eventId" SQL Injection
8.
Arctic "filter" SQL Injection Vulnerability
9.
Fedora update for firefox
10.
phpHoo3 "viewCat" SQL Injection Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia