Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-51628D-Link DCS-8300LHV2 ONVIF SetHostName Stack-Based Buffer Overflow Remote Code Execution Vulnerability
High 8.0
In plain English
A high-severity stack buffer overflow in DCS-8300LHV2 from D-Link. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities).
Official description
D-Link DCS-8300LHV2 ONVIF SetHostName Stack-Based Buffer Overflow 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 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. Was ZDI-CAN-21322.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| D-Link | DCS-8300LHV2 | 1.06.01 |
Weakness: CWE-121 · Vector: CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-24-048 x_research-advisory
- vendor-provided URL vendor-advisory