Buffer overflow in D-Link Dap-1325
CVE-2023-41206
D-Link DAP-1325 SetHostIPv6Settings IPv6Mode 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-18832.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 64.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- D-Link Dap-1325 — versions 1.07b01
- Dlink Dap-1325 Firmware
Weakness classification (CWE)
References
- ZDI-23-1314 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (vendor-advisory, Mitigation, Vendor Advisory)