SecurityContext

CVE-2023-51628: D-Link DCS-8300LHV2 - Buffer Overflow

  • Cve: CVE-2023-51628
  • Name: D-Link DCS-8300LHV2 - Buffer Overflow
  • 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.
  • Impact: Attackers can execute arbitrary code with root privileges, potentially leading to complete device compromise.
  • Remediation: Update to the latest firmware version provided by D-Link that addresses this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Exploitation requires authentication despite possible authentication bypass
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8
  • Cvss vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01155
  • Epss percentile: 0.67852
  • Assignee: [email protected]
  • Published at: 2024-05-03T03:16:26Z
  • Age in days: 935
  • Modified at: 2026-06-17T06:41:21Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-51628
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow
CWE-787Out-of-bounds Write

References

UrlSourceTags
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10370nvdVendor Advisory
https://www.zerodayinitiative.com/advisories/ZDI-24-048/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dlink:dcs-8300lhv2_firmware< 1.07.02yesnvd/v1/products/dlink/dcs-8300lhv2_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts