D-Link DCS-8300LHV2 ONVIF SetHostName Stack-Based Buffer Overflow Remote Code Execution Vulnerability
CVE-2023-51628Published 3 May 2024, 02:15 UTC
Real-world risk
2.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.0
scored by the vendor (CNA), CVSS 3.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from zdi)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| DCS-7517Common | = 1.06.01 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.2% chance of exploitation in 30 days (percentile 68), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.240
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.24 × threat 0.852.040
- Rounded to one decimal between 0.1 and 102.0
Exploitation and evidence timeline
- 3 May 2024 Published
- 3 Dec 2026 Risk 2.0 (cvss fallback)
Weakness
CWE-121
References
- https://www.zerodayinitiative.com/advisories/ZDI-24-048/x-research-advisory, x-transferred
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10370vendor-advisory, x-transferred
- CVE-2023-51628 on CVE.org