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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
D-Link DIR-600 rev B
Default version status: unaffected
0 to ≤ 2.14b01affected
D-Link DIR-300 rev B
Default version status: unaffected
0 to ≤ 2.13affected
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/auxiliary/admin/http/dlink_dir_300_600_exec_noauth.rb ↗
- https://www.exploit-db.com/exploits/24453 ↗
- https://web.archive.org/web/20150428184723/http://www.s3cur1ty.de/m1adv2013-003 ↗
- https://www.vulncheck.com/advisories/dlink-devices-unauth-rce ↗