Arbitrary file upload in C-Mor Video Surveillance
CVE-2024-45171
An issue was discovered in za-internet C-MOR Video Surveillance 5.2401. Due to improper user input validation, it is possible to upload dangerous files, for instance PHP code, to the C-MOR system. By analyzing the C-MOR web interface, it was found out that the upload functionality for backup files allows an authenticated user to upload arbitrary files. The only condition is that the filename contains a .cbkf string. Therefore, webshell.cbkf.php is considered a valid file name for the C-MOR web application. Uploaded files are stored within the directory "/srv/www/backups" on the C-MOR system, and can thus be accessed via the URL https://<HOST>/backup/upload_<FILENAME>. Due to broken access control, low-privileged authenticated users can also use this file upload functionality.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 60.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- C-Mor Video Surveillance — versions 5.2401
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2024-026.txt (Exploit, Vendor Advisory)
- www.syss.de/pentest-blog/mehrere-sicherheitsschwachstellen-in-videoueberwachung… (Vendor Advisory)
- seclists.org/fulldisclosure/2024/Sep/19 (Exploit, Mailing List, Third Party Advisory)