CVE-2025-5620
Published: 05 June 2025
Summary
CVE-2025-5620 is a medium-severity Command Injection (CWE-77) vulnerability in Dlink Dir-816 Firmware. Its CVSS base score is 6.9 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 8.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
A critical OS command injection vulnerability, tracked as CVE-2025-5620 and assigned CWE-77 and CWE-78, affects the D-Link DIR-816 router running firmware 1.10CNB05. The flaw resides in the setipsec_config function of the /goform/setipsec_config endpoint, where unsanitized input to the localIP and remoteIP parameters is passed directly to the operating system.
An unauthenticated attacker can exploit the issue remotely by sending a crafted HTTP request that injects arbitrary commands. Successful exploitation grants the ability to execute operating-system-level actions with limited effects on confidentiality, integrity, and availability; a public proof-of-concept has already been released.
The affected device line is no longer supported by D-Link, and the vendor’s site provides no patches or mitigation guidance for this firmware. The EPSS score remains flat at 0.0673 with no observed increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-16943
Vulnerability details
A vulnerability, which was classified as critical, was found in D-Link DIR-816 1.10CNB05. Affected is the function setipsec_config of the file /goform/setipsec_config. The manipulation of the argument localIP/remoteIP leads to os command injection. It is possible to launch the attack…
more
remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Unauthenticated OS command injection via public-facing web form (/goform/setipsec_config) enables exploitation of public-facing application (T1190), indirect command execution through web CGI (T1202), and abuse of command interpreter/shell (T1059).
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.