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.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
* (semver)
Credits
Michael Messner
References
www.exploit-db.com/exploits/24477
raw.githubusercontent.com/...ux/http/dlink_dir615_up_exec.rb
www.exploit-db.com/exploits/24477
www.exploit-db.com/exploits/25609
web.archive.org/...2603/http://www.s3cur1ty.de/m1adv2013-008
www.vulncheck.com/...ries/d-link-legacy-os-command-injection