CVE-2026-12174
D-Link · DCS-935L
A format string vulnerability in the D-Link DCS-935L HTTP handler allows remote attackers to compromise the device via the snprintf function in the CGI binary.
Executive summary
A critical remote format string vulnerability in D-Link DCS-935L cameras could allow an unauthenticated attacker to execute arbitrary commands on the device.
Vulnerability
The vulnerability exists in the snprintf function within the /web/cgi-bin/greece/rhea file of the HTTP Handler component. It is a classic format string flaw that can be triggered remotely without authentication.
Business impact
With a CVSS score of 8.8, this vulnerability is critical. Successful exploitation allows for remote code execution, granting an attacker full control over the surveillance camera. This poses severe risks, including unauthorized access to video feeds, lateral movement into the local network, and the potential for the device to be recruited into a botnet.
Remediation
Immediate Action: Update the device firmware to the version provided by D-Link that addresses the format string vulnerability in the HTTP handler.
Proactive Monitoring: Inspect network traffic for unusual HTTP GET or POST requests directed at the camera's CGI interface.
Compensating Controls: Isolate affected cameras on a dedicated VLAN and restrict access via firewall rules to known, trusted management IP addresses.
Exploitation status
Public Exploit Available: true
Analyst recommendation
Given the availability of a public exploit and the remote nature of this vulnerability, immediate patching is required. If a firmware update cannot be applied immediately, the device should be disconnected from the public internet or placed behind a robust firewall/VPN gateway to prevent unauthorized access.