CVE-2023-41212

D-Link DAP-1325 SetTriggerAPValidate Key Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published May 3, 2024 CVSS 3.1 · 8.8 High EPSS 1.0% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-45729 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.
History
Type Values Removed Values Added
First Time appeared D-link
D-link dap-1325
CPEs cpe:2.3:a:d-link:dap-1325:-:*:*:*:*:*:*:*
Vendors & Products D-link
D-link dap-1325
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Dlink
Dlink dap-1325
Dlink dap-1325 Firmware
Weaknesses CWE-787
CPEs cpe:2.3:h:dlink:dap-1325:a1:*:*:*:*:*:*:*
cpe:2.3:o:dlink:dap-1325_firmware:*:*:*:*:*:*:*:*
Vendors & Products Dlink
Dlink dap-1325
Dlink dap-1325 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, 6:54 PM
Reserved
Aug 24, 2023, 7:16 PM
Status
Analyzed
Published
May 3, 2024, 3:15 AM
Modified
Jun 17, 2026, 6:21 AM