CVE-2024-45171: za-internet C-MOR - Unrestricted File Upload
- Cve: CVE-2024-45171
- Name: za-internet C-MOR - Unrestricted File Upload
- 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.
- Impact: Attackers can upload malicious files like webshells, leading to remote code execution or full system compromise.
- Remediation: Implement strict input validation, access control, and update to the latest version if available.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated and have access to upload functionality
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00921
- Epss percentile: 0.61216
- Assignee: [email protected]
- Published at: 2024-09-05T16:15:08Z
- Age in days: 810
- Modified at: 2026-06-17T07:53:43Z
- Public exploits total: 2
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-45171
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2024-026.txt | nvd | 2024-09-05 |
| http://seclists.org/fulldisclosure/2024/Sep/19 | nvd | 2024-09-05 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2024-026.txt | Exploit, Vendor Advisory |
| https://www.syss.de/pentest-blog/mehrere-sicherheitsschwachstellen-in-videoueberwachungssoftware-c-mor-syss-2024-020-bis-030 | Vendor Advisory |
| http://seclists.org/fulldisclosure/2024/Sep/19 | Exploit, Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| c-mor:c-mor_video_surveillance | = 5.2401 | no | nvd | /v1/products/c-mor/c-mor_video_surveillance |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2024-09-05
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts