CVE-2025-60697
Published: 13 November 2025
Summary
CVE-2025-60697 is a high-severity Command Injection (CWE-77) vulnerability in Dlink Dir-882 Firmware. Its CVSS base score is 7.3 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 20.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
A command injection vulnerability affects the D-Link DIR-882 router running firmware version DIR882A1_FW102B02. The flaw resides in the prog.cgi and rc binaries, where the sub_4438A4 function stores unsanitized user-supplied DDNS parameters ServerAddress and Hostname into NVRAM via nvram_safe_set. These values are later retrieved by the start_DDNS_ipv4 function using nvram_safe_get and concatenated directly into shell commands passed to twsystem, with only partial string comparison applied for filtering.
An unauthenticated remote attacker can exploit the issue by sending specially crafted HTTP requests to the router's web interface. Successful exploitation grants the ability to execute arbitrary commands on the device with no required credentials or user interaction, corresponding to a CVSS 7.3 rating under CWE-77.
Public references point to detailed technical write-ups on GitHub and to D-Link's general security bulletin page, though no specific patch or mitigation guidance is described in the available information. The associated EPSS score remains flat at 0.0128 with no material increase observed after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-175344
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Unauthenticated command injection via the router's public-facing web interface (prog.cgi) enables exploitation of public-facing applications (T1190) and arbitrary Unix shell command execution (T1059.004).
Affected Assets
Mitigating Controls
No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.