CVE-2024-45171 File upload in n/a

High 8.8 Published Updated

Authenticated users can upload malicious PHP files via the backup feature, leading to remote code execution on the C-MOR Video Surveillance system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-45171?

CVE-2024-45171 is a high-severity vulnerability in n/a, published on 5 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-434

Which versions are affected by CVE-2024-45171?

It affects 1 product.

Products include C-Mor C-Mor Video Surveillance.

How do I fix CVE-2024-45171?

No fix has been published for CVE-2024-45171 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-45171 being exploited?

There is no known exploitation of CVE-2024-45171 in the wild and no public exploit code.

Sources

Also known as GHSA-5qmx-gqwp-wvwm.

Is CVE-2024-45171 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free