CVE-2013-10048
Severity CVSS v4.0:
CRITICAL
Type:
CWE-78
OS Command Injections
Publication date:
01/08/2025
Last modified:
23/09/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.
Impact
Base Score 4.0
9.30
Severity 4.0
CRITICAL
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:dlink:dir-300_firmware:*:*:*:*:*:*:*:* | 2.13 (including) | |
| cpe:2.3:h:dlink:dir-300:-:*:*:*:*:*:*:* | ||
| cpe:2.3:o:dlink:dir-600_firmware:*:*:*:*:*:*:*:* | 2.14b01 (including) | |
| cpe:2.3:h:dlink:dir-600:-:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb
- https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003
- https://www.exploit-db.com/exploits/24453
- https://www.exploit-db.com/exploits/27528
- https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce
- https://www.exploit-db.com/exploits/27528



