D-Link Devices command.php Unauthenticated RCE
Published Aug 1, 2025
9.3
CRITICALCVSS 4.0
EPSS 17.05%
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.
Affected products
-
- Version 0StatusaffectedConstraints<=2.13
- Version
-
- Version 0StatusaffectedConstraints<=2.14b01
- Version
Configuration 1
- ≤ 2.13
Configuration 2
- ≤ 2.14b01
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
1 other source (NVD) ▾
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Aug 4, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 17.05% (0.17052) | 96.99th | v5 (v2026.06.15) |
| Sep 21, 2026 | 17.05% (0.17052) | 96.99th | v5 (v2026.06.15) |
| Jun 15, 2026 | 12.10% (0.12099) | 95.60th | v5 (v2026.06.15) |
| Jun 9, 2026 | 75.58% (0.75580) | 98.91th | v4 (v2025.03.14) |
| May 28, 2026 | 73.23% (0.73227) | 98.81th | v4 (v2025.03.14) |
| Dec 29, 2025 | 59.84% (0.59840) | 98.17th | v4 (v2025.03.14) |
| Dec 28, 2025 | 61.23% (0.61226) | 98.23th | v4 (v2025.03.14) |
| Oct 8, 2025 | 64.12% (0.64116) | 98.33th | v4 (v2025.03.14) |
| Aug 26, 2025 | 2.60% (0.02600) | 85.03th | v4 (v2025.03.14) |
| Aug 2, 2025 | 1.23% (0.01235) | 78.46th | v4 (v2025.03.14) |
References (5)
- 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 technical-descriptionexploitThird Party Advisory
- https://www.exploit-db.com/exploits/24453 exploit
- https://www.exploit-db.com/exploits/27528 exploit
- https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce third-party-advisoryThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| 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 | technical-descriptionexploitThird Party Advisory | |
| https://www.exploit-db.com/exploits/24453 | exploit | |
| https://www.exploit-db.com/exploits/27528 | exploit | |
| https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce | third-party-advisoryThird Party Advisory |
Change history (0)
No recorded changes yet.