First published: Thu Jan 11 2024(Updated: )
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 handling of the SetHostName ONVIF call. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.
Affected Software | Affected Version | How to fix |
---|---|---|
D-Link DCS-8300LHV2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
ZDI-CAN-21322 is considered a high severity vulnerability due to its potential for remote code execution.
To mitigate ZDI-CAN-21322, apply the latest firmware updates provided by D-Link for the DCS-8300LHV2 IP cameras.
ZDI-CAN-21322 can be exploited by network-adjacent attackers who are able to bypass the authentication mechanism.
ZDI-CAN-21322 affects D-Link DCS-8300LHV2 IP cameras specifically.
Yes, authentication is required to exploit ZDI-CAN-21322, but it can be bypassed due to the existing vulnerabilities.