CVE-2023-51626: D-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Username Stack-Based Buffer Overflow Remote Code Execution Vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-51626?
CVE-2023-51626 is classified as a critical severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2023-51626?
To fix CVE-2023-51626, update the firmware of the D-Link DCS-8300LHV2 to version 1.07.03 or later.
Who is affected by CVE-2023-51626?
CVE-2023-51626 affects D-Link DCS-8300LHV2 IP cameras with firmware versions prior to 1.07.03.
What type of vulnerability is CVE-2023-51626?
CVE-2023-51626 is a stack-based buffer overflow vulnerability that allows for remote code execution.
Can CVE-2023-51626 be exploited remotely?
Yes, CVE-2023-51626 can be exploited by network-adjacent attackers without the need for physical access to the device.