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.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Any version
Any version
Credits
Michael Messner
References
www.exploit-db.com/exploits/24453
raw.githubusercontent.com/...link_dir_300_600_exec_noauth.rb
www.exploit-db.com/exploits/24453
web.archive.org/...4723/http://www.s3cur1ty.de/m1adv2013-003
www.vulncheck.com/advisories/dlink-devices-unauth-rce