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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
D-Link DIR-615H1
Default version status: unaffected
0 to ≤ 8.04affected
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dir615_up_exec.rb ↗
- https://www.exploit-db.com/exploits/24477 ↗
- https://www.exploit-db.com/exploits/25609 ↗
- https://web.archive.org/web/20150921102603/http://www.s3cur1ty.de/m1adv2013-008 ↗
- https://www.vulncheck.com/advisories/d-link-legacy-os-command-injection ↗