CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · C-mor

CVE-2024-45171
C-mor Video Surveillance vulnerability

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.

Affected products

C-mor Video Surveillance. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether C-mor Video Surveillance runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in C-mor products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.