CVE-2023-51624
Published: 03 May 2024
Summary
CVE-2023-51624 is a high-severity Stack-based Buffer Overflow (CWE-121) vulnerability in Dlink Dcs-8300Lhv2 Firmware. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 9.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2023-51624 is a stack-based buffer overflow in the RTSP server component of D-Link DCS-8300LHV2 IP cameras. The flaw occurs in ValidateAuthorizationHeader when processing the Authorization header on TCP port 554; the code copies attacker-controlled data into a fixed-length stack buffer without validating its length. The vulnerability is tracked as ZDI-CAN-20072, is assigned CWE-121 and CWE-787, and carries a CVSS 3.1 score of 8.8.
Network-adjacent attackers require no authentication or user interaction to trigger the overflow and can execute arbitrary code in the root context. Exploitation is possible simply by sending a crafted RTSP request containing an oversized Authorization header value.
D-Link advisory SAP10370 and Zero Day Initiative advisory ZDI-24-044 address the issue. The EPSS score has remained flat at 0.0528 with no material rise since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-56336
Vulnerability details
D-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Nonce 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. Authentication is not required to exploit this vulnerability. The specific flaw…
more
exists within the handling of the Authorization header by the RTSP server, which listens on TCP port 554. 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-20072.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.