Overview
The vulnerability resides in the Local Recording CGI component of D-Link DCS-935L cameras running firmware version 1.10.01. The loginRouter routine in the setconf.cgi script fails to properly sanitize the account and password arguments, enabling an attacker to inject operating-system commands that are executed on the device. Remote exploitation is possible because the affected CGI endpoint is reachable over the network. The exploit has been publicly disclosed.
Technical details
When a request is sent to /web/cgi-bin/localrecording/setconf.cgi, the loginRouter function processes the query parameters "account" and "password" without adequate validation. An attacker can supply specially crafted values that include shell metacharacters, causing the underlying OS to execute arbitrary commands. Successful exploitation requires network access to the camera's web interface and does not require authentication.
Impact
An attacker who exploits this flaw can run arbitrary commands on the compromised camera, potentially taking full control of the device, installing backdoors, exfiltrating video streams, or using the camera as a foothold to pivot within the internal network. All deployments of D-Link DCS-935L with firmware 1.10.01 are exposed.
Recommended actions
- Apply the vendor's security patch as soon as it is released and verify the updated version.
- Restrict network access to the camera's management interface to trusted hosts only.
- Disable remote management features if they are not required for operational purposes.
- Monitor web server logs for suspicious calls to setconf.cgi with unusual account or password values.
- Deploy an application firewall or input-validation rule to block command injection patterns.
Detection
Review HTTP access logs for requests targeting /web/cgi-bin/localrecording/setconf.cgi. Look for abnormal query strings containing characters such as ';', '&', '|', or backticks in the account or password fields. Correlate with any unexpected command execution or process creation on the device, and configure alerts for such patterns.
Reference: NVD entry for CVE-2026-133680