RCE in D-Link Dap-1325
CVE-2023-41189
D-Link DAP-1325 HNAP SetAPLanSettings Gateway Command Injection 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 a request parameter provided to the HNAP1 SOAP endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-18809.
Vulnerability class: Command Injection (OS Command Injection)
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.014, 73.4th 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-1297 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (vendor-advisory, Mitigation, Vendor Advisory)