# Exploit Title: NukeViet VMS 4.4.00 - Cross-Site Request Forgery (Change Admin Password) # Date: 2020-05-18 # Exploit Author: JEBARAJ # Vendor Homepage: https://nukeviet.vn/ # Software Link: https://github.com/nukeviet/nukeviet/releases/download/4.4.00/nukeviet4.4.00setup.zip # Version: 4.4.00 # Tested on: Windows 10 Pro # CVE : N/A +---------------------------------------------------------------------------------------------------------------------------------------------------+ Description: NukeViet CMS v4.4.00 suffer from Cross Site Request Forgery (CSRF) vulnerability.This Vulnerabilty lets attacker change profile details and password of the user without knowing thier old password. Create a new user with admin privileges. Delete Sensitive and other log files. 1. Changing password of Admin user and thier profile details
2. Create new user.
3. Deleting Log files
Persistent HTML injection via CSRF Since the application has xss protection header it is hard to get an XSS. HTML injection is possible via unsanitized parameter passed to database and then displayed in Informations -> system logs tab on admin panel. Vulnerable Source code: clearsystem.php -> line 58 nv_insert_logs(NV_LANG_DATA, $module_name, $lang_module['clearsystem'], implode(", ", $deltype), $admin_info['userid']); There are many instances like this triggering to html injection. P0c: htmlinjection.html
" />