ZDI-CAN-21319: 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-CAN-21319?
The severity of ZDI-CAN-21319 is high due to the potential for remote code execution.
How do I fix ZDI-CAN-21319?
To fix ZDI-CAN-21319, update your D-Link DCS-8300LHV2 IP camera to the latest available firmware.
Who is affected by ZDI-CAN-21319?
Users of the D-Link DCS-8300LHV2 IP cameras are affected by ZDI-CAN-21319.
What type of attack is associated with ZDI-CAN-21319?
ZDI-CAN-21319 is associated with network-adjacent attacks that can bypass existing authentication.
Is authentication required for exploiting ZDI-CAN-21319?
Yes, although authentication is required, it can be bypassed, making the vulnerability more severe.