Description
The web interface of multiple D-Link routers, including DIR-600 rev B (≤2.14b01) and DIR-300 rev B (≤2.13), contains an unauthenticated OS command injection vulnerability in command.php, which improperly handles the cmd POST parameter. A remote attacker can exploit this flaw without authentication to spawn a Telnet service on a specified port, enabling persistent interactive shell access as root.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| D-Link | DIR-600 rev B | ≤ 2.14b01 | — |
| D-Link | DIR-300 rev B | ≤ 2.13 | — |
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 DIR-600 / DIR-300 Unauthenticated Remote Command Execution
auxiliary/admin/http/dlink_dir_300_600_exec_noauth
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/auxiliary/admin/http/dlink_dir_300_600_exec_noauth.rb exploit
- https://www.exploit-db.com/exploits/24453 exploit
- https://web.archive.org/web/20150428184723/http://www.s3cur1ty.de/m1adv2013-003 technical-description exploit
- https://www.vulncheck.com/advisories/dlink-devices-unauth-rce third-party-advisory