CVE-2025-60697: D-Link DIR-882 Router - Command Injection
- Cve: CVE-2025-60697
- Name: D-Link DIR-882 Router - Command Injection
- Description: A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1_FW102B02 within the `prog.cgi` and `rc` binaries. The `sub_4438A4` function in `prog.cgi` stores user-supplied DDNS parameters (`ServerAddress` and `Hostname`) in NVRAM via `nvram_safe_set`. These values are later retrieved in the `start_DDNS_ipv4` function of `rc` using `nvram_safe_get` and concatenated into DDNS shell commands executed via `twsystem()` without proper sanitization. Partial string comparison is performed but is insufficient to prevent command injection. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary commands on the device through specially crafted HTTP requests to the router's web interface.
- Impact: Unauthenticated remote attackers can execute arbitrary commands, potentially taking full control of the router.
- Remediation: Update to the latest firmware version that addresses this vulnerability.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.0382
- Epss percentile: 0.90331
- Assignee: [email protected]
- Published at: 2025-11-13T18:15:53Z
- Age in days: 376
- Modified at: 2026-11-05T14:10:00Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-60697
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-882/CVE-2025-60697.md | nvd | 2025-11-13 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.dlink.com/en/security-bulletin/ | Vendor Advisory |
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-882/CVE-2025-60697.md | Exploit, Third Party Advisory |
| https://www.dlink.com/ | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dlink:dir-882_firmware | = 1.02b02 | yes | nvd | /v1/products/dlink/dir-882_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-11-13
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts