CVE-2013-10048D-Link Devices command.php Unauthenticated RCE
Description
An OS command injection vulnerability exists in various legacy D-Link routers—including DIR-300 rev B and DIR-600 (firmware ≤ 2.13 and ≤ 2.14b01, respectively)—due to improper input handling in the unauthenticated command.php endpoint. By sending specially crafted POST requests, a remote attacker can execute arbitrary shell commands with root privileges, allowing full takeover of the device. This includes launching services such as Telnet, exfiltrating credentials, modifying system configuration, and disrupting availability. The flaw stems from the lack of authentication and inadequate sanitation of the cmd parameter.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| D-Link | DIR-300 | ≤ 2.13 | |
| D-Link | DIR-600 | ≤ 2.14b01 | |
| dlink | dir-300 firmware | ≤ 2.13 | |
| dlink | dir-600 firmware | ≤ 2.14b01 |
References and patches
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_comman… exploitExploit
- https://www.exploit-db.com/exploits/24453 exploitExploit
- https://www.exploit-db.com/exploits/27528 exploitExploit
- https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003 technical-descriptionexploitExploitThird Party Advisory
- https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce third-party-advisoryThird Party Advisory
CPE matches (NVD) (2)
cpe:2.3:o:dlink:dir-300_firmware:*:*:*:*:*:*:*:*≤ 2.13cpe:2.3:o:dlink:dir-600_firmware:*:*:*:*:*:*:*:*≤ 2.14b01