C-MOR System Vulnerable to File Upload Attack via Backup Feature
CVE-2024-45171
8.8HIGH
What is CVE-2024-45171?
The C-MOR Video Surveillance system by ZA-Internet has a significant flaw due to improper validation of user input, allowing authenticated users to upload potentially dangerous files, such as PHP scripts. An analysis of the system's web interface revealed that the backup file upload feature permits the submission of arbitrary files as long as the filename includes the string '.cbkf'. This design oversight enables malicious actors to upload files like 'webshell.cbkf.php'. Consequently, uploaded files are stored at '/srv/www/backups' and are accessible via a specific URL pattern, thereby facilitating unauthorized access. Moreover, low-privileged authenticated users are able to exploit this vulnerability due to inadequate access controls.
