Description
An authenticated OS command injection vulnerability exists in various D-Link routers (tested on DIR-615H1 running firmware version 8.04) via the tools_vct.htm endpoint. The web interface fails to sanitize input passed from the ping_ipaddr parameter to the tools_vct.htm diagnostic interface, allowing attackers to inject arbitrary shell commands using backtick encapsulation. With default credentials, an attacker can exploit this blind injection vector to execute arbitrary commands.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| D-Link | DIR-615H1 | ≤ 8.04 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
D-Link DIR615h OS Command Injection
exploit/linux/http/dlink_dir615_up_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dir615_up_exec.rb exploit
- https://www.exploit-db.com/exploits/24477 exploit
- https://www.exploit-db.com/exploits/25609 exploit
- https://web.archive.org/web/20150921102603/http://www.s3cur1ty.de/m1adv2013-008 technical-description exploit
- https://www.vulncheck.com/advisories/d-link-legacy-os-command-injection third-party-advisory