Security Resilience

CVE-2025-60697

Command Injection in Dlink Dir-882 Firmware 1.02b02

Published
13 November 2025
Modified
05 November 2026
Patch / advisory
CVSS Score v3.1 7.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.038 90th percentile
Risk Priority 62 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

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, ranked in the top 10% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

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.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CVEs Like This One

CVE-2023-24330Same product: Dlink Dir-882 Firmware
CVE-2025-60698Same product: Dlink Dir-882 Firmware
CVE-2025-60700Same product: Dlink Dir-882 Firmware
CVE-2025-60701Same product: Dlink Dir-882 Firmware
CVE-2026-5844Same product: Dlink Dir-882 Firmware
CVE-2023-26925Same product: Dlink Dir-882 Firmware
CVE-2024-23625Same vendor: Dlink
CVE-2024-29385Same vendor: Dlink
CVE-2025-25743Same vendor: Dlink
CVE-2023-33782Same vendor: Dlink

Affected Assets

dlink
dir-882 firmware
1.02b02

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References