CVE-2023-51626

D-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Username Stack-Based Buffer Overflow Remote Code Execution Vulnerability

Published May 3, 2024 CVSS 3.1 · 8.8 High EPSS 1.3% KEV · Not listed
Description
D-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Username 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 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-21320.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-56338 D-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Username 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 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-21320.
History
Type Values Removed Values Added
First Time appeared Dlink dcs-8300lvh2 Firmware
CPEs cpe:2.3:o:dlink:dcs-8300lvh2_firmware:1.06.01:*:*:*:*:*:*:*
Vendors & Products Dlink dcs-8300lvh2 Firmware
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dlink
Dlink dcs-8300lhv2
Dlink dcs-8300lhv2 Firmware
Weaknesses CWE-787
CPEs cpe:2.3:h:dlink:dcs-8300lhv2:-:*:*:*:*:*:*:*
cpe:2.3:o:dlink:dcs-8300lhv2_firmware:*:*:*:*:*:*:*:*
Vendors & Products Dlink
Dlink dcs-8300lhv2
Dlink dcs-8300lhv2 Firmware
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Aug 2, 2024, 10:40 PM
Reserved
Dec 20, 2023, 9:52 PM
Status
Analyzed
Published
May 3, 2024, 3:16 AM
Modified
Jun 17, 2026, 6:41 AM