OS Command Injection in D-Link products - CVE-2018-25115
Published: September 4, 2025
Vulnerability details
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 service.cgi endpoint. 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.
Affected software
DIR-412
DIR-600
DIR-610
DIR-615
DIR-645
DIR-815
How to mitigate CVE-2018-25115
External References
- https://github.com/Cr0n1c/dlink_shell_poc/blob/master/dlink_auth_rce
- https://legacy.us.dlink.com/
- https://support.dlink.com/EndOfLifePolicy.aspx
- https://www.exploit-db.com/exploits/43496
- https://www.vulncheck.com/advisories/dlink-dir-rce-service-cgi
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10221
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10457
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10456