#VU111992 OS Command Injection in DIR-816 - CVE-2025-5620


Vulnerability identifier: #VU111992

Vulnerability risk: High

CVSSv4.0: 8.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2025-5620

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
DIR-816
Hardware solutions / Routers & switches, VoIP, GSM, etc

Vendor: D-Link

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the "setipsec_config" function in "/goform/setipsec_config" file. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

DIR-816: 1.10CNB05


External links
https://github.com/wudipjq/my_vuln/blob/main/D-Link5/vuln_48/48.md
https://github.com/wudipjq/my_vuln/blob/main/D-Link5/vuln_48/48.md
https://vuldb.com/?ctiid.311106
https://vuldb.com/?id.311106
https://vuldb.com/?submit.589220
https://www.dlink.com/
https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10433


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability