CVE-2013-10048
D-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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 51.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.2% of all scored CVEs. Scores of 27 Nov 2026.
The assessment of CISA (SSVC, 4 Aug 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| DIR-600 |
affected up to and including 2.14b01
Other versions: unknown
|
| DIR-300 |
affected up to and including 2.13
Other versions: unknown
|
Is my server affected?
This CVE is in DIR-600 of D-Link, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce vulncheck.com · third party advisory
Exploits and proof of concept
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb raw.githubusercontent.com · exploit
- https://www.exploit-db.com/exploits/24453 exploit-db.com · exploit
- https://www.exploit-db.com/exploits/27528 exploit-db.com · exploit
- https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003 web.archive.org · technical description, exploit
Source: the record CVE-2013-10048 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse