Buffer overflow in D-Link Dap-1325

CVE-2023-41212

D-Link DAP-1325 SetTriggerAPValidate Key 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-18839.

Vulnerability class: Buffer Overflow

EPSS: 0.009 (54.6th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-41212?
CVE-2023-41212 is a high-severity vulnerability in D-Link Dap-1325, classified under Stack-based Buffer Overflow. CVSS score: 8.8/10. Published 2024-05-03.
How severe is CVE-2023-41212?
High severity. CVSS v3 base score is 8.8 out of 10.