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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
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 | exploit technical description |
https://www.vulncheck.com/advisories/d-link-legacy-os-command-injection | third party advisory |