CVE-2025-5620 D-Link DIR-816 setipsec_config os command injection
Remote attackers can execute arbitrary OS commands on unsupported D-Link DIR-816 routers via the setipsec_config interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5620?
CVE-2025-5620 is a medium-severity command injection vulnerability in Dlink Dir-816 Firmware, published on 4 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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 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.
Which versions are affected by CVE-2025-5620?
It affects 1 product.
Products include Dlink Dir-816 Firmware.
How do I fix CVE-2025-5620?
No fix has been published for CVE-2025-5620 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-5620 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5620 exists.
Other vulnerabilities in Dlink Dir-816 Firmware
Sources
Also known as GHSA-q445-fpwx-qv82.