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

2012-09-06T00:00:00
ID ZSL-2012-5104
Type zeroscience
Reporter Gjoko Krstic
Modified 2012-09-06T00:00:00

Description

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

                                        
                                            &lt;html&gt;&lt;head&gt;&lt;title&gt;403 Nothing to see.&lt;/title&gt;
&lt;link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon"&gt;
&lt;style type="text/css"&gt;
&lt;!--
body {
	background-color: #000;
}
body,td,th {
	font-family: Verdana, Geneva, sans-serif;
}
a:link {
	color: #008FEF;
	text-decoration: none;
}
a:visited {
	color: #008FEF;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #666;
}
a:active {
	text-decoration: none;
}
--&gt;
&lt;/style&gt;
&lt;/head&gt;
&lt;body bgcolor=black&gt;
&lt;center&gt;
&lt;font color="#7E88A3" size="2"&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;h1&gt;403 Nothing to see.&lt;/h1&gt;

You do not have the powah for this request /403.shtml&lt;br /&gt;&lt;br /&gt;
&lt;font size="2"&gt;&lt;a href="https://www.zeroscience.mk"&gt;https://www.zeroscience.mk&lt;/a&gt;&lt;/font&gt;
&lt;/font&gt;&lt;/center&gt;
&lt;/body&gt;&lt;/html&gt;