CVE-2013-10048
D-Link Devices command.php Unauthenticated RCE
- State
- Published
- Severity
- 9.3 Critical
- Published
- Aug 1, 2025
- Updated
- May 15, 2026
- Reserved
- Aug 1, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
DIR-600D-Link |
|
DIR-300D-Link |
|
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rbexploit
- https://www.exploit-db.com/exploits/24453exploit
- https://www.exploit-db.com/exploits/27528exploit
- https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003technical-descriptionexploit
- https://www.vulncheck.com/advisories/d-link-legacy-unauth-rcethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.