ZDI-24-045: D-Link DCS-8300LHV2 ONVIF SetSystemDateAndTime Command Injection Remote Code Execution Vulnerability
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DCS-8300LHV2 IP cameras. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the implementation of the ONVIF API, which listens on TCP port 80. When parsing the sch:TZ XML element, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.
Other sources
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DCS-8300LHV2 IP cameras. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The ZDI has assigned a CVSS rating of 8.0. The following CVEs are assigned: CVE-2023-51625.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-24-045?
The severity of ZDI-24-045 is critical due to the ability for network-adjacent attackers to execute arbitrary code.
How do I fix ZDI-24-045?
To fix ZDI-24-045, ensure that you update to the latest firmware provided by D-Link for the DCS-8300LHV2 model.
Who is affected by ZDI-24-045?
ZDI-24-045 affects users of the D-Link DCS-8300LHV2 IP cameras.
What type of attacks are possible with ZDI-24-045?
ZDI-24-045 allows attackers to execute arbitrary code on affected cameras through a bypassed authentication mechanism.
Is remote exploitation possible with ZDI-24-045?
Remote exploitation is not possible as ZDI-24-045 requires network adjacency to exploit.