CVE-2023-41204: D-Link DAP-1325 SetAPLanSettings SecondaryDNS Stack-based Buffer Overflow Remote Code Execution Vulnerability
D-Link DAP-1325 SetAPLanSettings SecondaryDNS Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1325 routers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of XML data provided to the HNAP1 SOAP endpoint. 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-18830.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-41204?
CVE-2023-41204 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2023-41204?
To fix CVE-2023-41204, users should apply the firmware updates provided by D-Link for the DAP-1325 router.
Who is affected by CVE-2023-41204?
CVE-2023-41204 affects installations of D-Link DAP-1325 routers that have not been updated to the latest firmware.
Can CVE-2023-41204 be exploited remotely?
Yes, CVE-2023-41204 can be exploited remotely by attackers located on the same network segment.
Is authentication required to exploit CVE-2023-41204?
No, authentication is not required to exploit CVE-2023-41204, making it particularly dangerous.