Exploits / Vulnerability Discovered : 2019-02-15 |
Type : webapps |
Platform : php
This exploit / vulnerability Mybb trash bin plugin 1.1.3 crosssite scripting / crosssite request forgery is for educational purposes only and if it is used you will do on your own risk!
1. Description:
Creates a trash bin in the ACP where you can recover permanent deleted threads and posts. The thread/post subjects allow XSS and deleted posts can be restored by CSRF.
2. Proof of Concept:
Cross-Site Scripting
- Create a new thread with the following subject <script>alert('XSS')</script>
- Permanently delete that thread
- Alert is located in threads trash bin localhost/[path]/admin/index.php?module=tools-trashbin and localhost/admin/index.php?module=tools-trashbin&action=posts
- Reply to a post and change the subject to the following <script>alert('XSS')</script>
- Permanently delete that post
- Alert is located in posts trash bin localhost/[path]/admin/index.php?module=tools-trashbin&action=posts