Critical severity · published Aug 1, 2025
CVE-2013-10048
D-Link Devices command.php Unauthenticated RCE
9.8
CVSS
16.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)16.9% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DI
DIR-300 · D-Link
through 2.13 · source: vendor
DI
DIR-600 · D-Link
through 2.14b01 · source: vendor
DF
Dir-300 Firmware · Dlink
through 2.13 · source: NVD
DF
Dir-600 Firmware · Dlink
through 2.14b01 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2013-10048
CVE.org
https://www.cve.org/CVERecord?id=CVE-2013-10048
Exploit
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb
Exploit
https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003
Exploit
https://www.exploit-db.com/exploits/24453
Exploit
https://www.exploit-db.com/exploits/27528
Third Party Advisory
https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce
More from DIR-300
5.3
CVE-2024-0717
D-Link Good Line Router v2 HTTP GET Request devinfo information disclosure
