CVE-2025-60697 Details
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.
A command injection vulnerability has been identified in the D-Link DIR-882 Router firmware DIR882A1_FW102B02. The issue arises in the 'prog.cgi' and 'rc' binaries, where user-supplied Dynamic DNS (DDNS) parameters are improperly handled. The 'sub_4438A4' function in 'prog.cgi' stores DDNS server address and hostname values in NVRAM without adequate sanitization. These values are later retrieved by the 'start_DDNS_ipv4' function in 'rc', concatenated into DDNS shell commands, and executed via 'twsystem()', creating an opportunity for unauthenticated remote attackers to execute arbitrary commands on the device through crafted HTTP requests to the router's web interface.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-882/4.md | [email protected] | Broken Link |
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-882/CVE-2025-60697.md | [email protected] | ExploitThird Party Advisory |
| https://www.dlink.com/ | [email protected] | Product |
| https://www.dlink.com/en/security-bulletin/ | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| dlink dir-882 firmware | 1.02b02 |
CPE
Remediation
| |
| dlink dir-882 | a1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| Nov 13, 2025 | CVE Modified | CISA-ADP |
| Nov 13, 2025 | New CVE Received | [email protected] |