Cannonbolt Portfolio Manager v1.0 Stored XSS and SQL Injection Vulnerabilities

Title: Cannonbolt Portfolio Manager v1.0 Stored XSS and SQL Injection Vulnerabilities
Advisory ID: ZSL-2012-5104
Type: Local/Remote
Impact: Cross-Site Scripting, Exposure of System Information, Exposure of Sensitive Information, Manipulation of Data
Risk: (3/5)
Release Date: 06.09.2012
Summary
Cannonbolt Portfolio Manager is a sleek and AJAX based PHP script to manage projects and showcase.
Description
The application suffers from a stored cross-site scripting and a SQL Injection vulnerability when input is passed to the 'cname' POST parameter in 'add-category.php' and 'cdel' GET parameter in 'del.php' script which is not properly sanitised before being returned to the user or used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code or execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Vendor
IWCn Systems Inc. - http://www.iwcn.ws
Affected Version
1.0
Tested On
Apache, PHP
Vendor Status
[11.09.2012] Vendor releases version 1.1 to address these issues.
PoC
cannonbolt_sqlixss.txt
Credits
Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>
References
[1] http://www.exploit-db.com/exploits/21132/
[2] http://cxsecurity.com/issue/WLB-2012090069
[3] http://packetstormsecurity.org/files/116326
[4] http://xforce.iss.net/xforce/xfdb/78366
[5] http://xforce.iss.net/xforce/xfdb/78367
[6] http://www.osvdb.org/show/osvdb/85948
[7] http://www.osvdb.org/show/osvdb/85949
[8] http://www.osvdb.org/show/osvdb/85950
Changelog
[06.09.2012] - Initial release
[07.09.2012] - Added reference [1], [2] and [3]
[11.09.2012] - Added vendor status
[13.09.2012] - Added reference [4] and [5]
[11.11.2012] - Added reference [6], [7] and [8]
Contact
Zero Science Lab

Web: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk