CVE-2023-51628
HIGH 8.0CVSS 3.1D-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.
- Published
- 3 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Analyzed
- Weakness
- CWE-121CWE-787
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | HIGH 8.0 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dlink | dcs-8300lhv2_firmwarecpe:2.3:o:dlink:dcs-8300lhv2_firmware:*:*:*:*:*:*:*:* |
< 1.07.02 | 1.07.02 |
References
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10370 · Vendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-24-048/ · Third Party Advisory
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 3 May 2024)