C-MOR Video Surveillance Directory Traversal Vulnerability
C-MOR Video Surveillance versions up to 6.0104 are vulnerable to an unauthenticated directory traversal attack in the show-movies.pml component, allowing remote attackers to read arbitrary files.
What's new
- 1. added detection rule: Detect XSS Attempt via C-MOR Parameters Aug 31, 14:04 via exploit-db
C-MOR Video Surveillance (versions <= 6.0104) by za-internet GmbH contains a directory traversal vulnerability that allows unauthenticated remote attackers to read arbitrary files from the underlying system. The vulnerability exists within the show-movies.pml component, which fails to properly sanitize the 'cam' input parameter. By supplying specially crafted HTTP requests containing traversal sequences (e.g., '../'), an attacker can escape the intended web application directory and access sensitive system files. This vulnerability, tracked as CVE-2026-51134, is documented with a public proof-of-concept exploit. Given the nature of video surveillance systems, unauthorized access to system files could lead to the exposure of credentials, configuration data, or other sensitive information, facilitating further system compromise.
Attack Chain
- Attacker performs reconnaissance to identify internet-facing C-MOR Video Surveillance instances.
- Attacker crafts a malicious HTTP GET request targeting the 'show-movies.pml' endpoint.
- Attacker injects directory traversal sequences (../) into the 'cam' parameter within the URL query string.
- The vulnerable web application processes the request without sanitizing the input path.
- The server-side code resolves the path relative to the root directory or unintended application directories.
- The application returns the contents of the requested file (e.g., /etc/passwd) in the HTTP response body.
- Attacker parses the response to exfiltrate system configuration or sensitive data.
Impact
Successful exploitation allows unauthenticated remote attackers to retrieve arbitrary files from the filesystem of the C-MOR surveillance server. This can lead to the exposure of sensitive configuration files, system credentials, or other internal application data. The scope of impact is limited to the server running the vulnerable software, but potentially provides attackers with sufficient information to elevate privileges or pivot further into the internal network.
Recommendation
- Patch C-MOR Video Surveillance to the latest version immediately if a fix is provided by za-internet GmbH; if no patch is available, restrict access to the web interface via network controls.
- Deploy the provided Sigma rule to detect attempts to access sensitive system files via the show-movies.pml component.
- Monitor web server access logs for anomalous requests containing directory traversal sequences (e.g., ../) directed at the show-movies.pml script.
Immediate actions
Deploy the provided Sigma rule to identify exploitation attempts against C-MOR systems.
Mitigations
Restrict external network access to the C-MOR video surveillance interface.
CVE-2026-51134
Detection coverage 2
Detects CVE-2026-51134 Exploitation - Directory Traversal in C-MOR
highDetects attempts to exploit CVE-2026-51134 by identifying directory traversal sequences in the 'cam' parameter of requests to show-movies.pml.
Detect XSS Attempt via C-MOR Parameters
highDetects potential XSS attempts targeting C-MOR Video Surveillance by monitoring for script-related payloads in the size and anyparam parameters.
Detection queries are available on the platform. Get full rules →