6.5medium
A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1FW102B02 within the prog.cgi and rc binaries.
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 3.79% (higher than 91% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
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_433188` function in `prog.cgi` stores user-supplied email configuration parameters (`EmailFrom`, `EmailTo`, `SMTPServerAddress`, `SMTPServerPort`, `AccountName`) in NVRAM via `nvram_safe_set`. These values are later retrieved in the `sub_448FDC` function of `rc` using `nvram_safe_get` and concatenated into shell commands executed via `twsystem()` without sanitization. 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| dlink dir-882_firmware | 1.02b02 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
A command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1_FW102B02 within the `prog.cgi` and `rc` binaries. The `sub_433188` function in `prog.cgi` stores user-supplied email configuration parameters (`EmailFrom`, `EmailTo`, `SMTPServerAddress`, `SMTPServerPort`, `AccountName`) in NVRAM via `nvram_safe_set`. These values are later retrieved in the `sub_448FDC` function of `rc` using `nvram_safe_get` and concatenated into shell commands executed via `twsystem()` without sanitization. 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.
NVD (es)
Una vulnerabilidad de inyección de comandos existe en el firmware del router D-Link DIR-882 DIR882A1_FW102B02 dentro de los binarios “prog.cgi” y “rc”. La función “sub_433188” en “prog.cgi” almacena parámetros de configuración de correo electrónico proporcionados por el usuario (“EmailFrom”, “EmailTo”, “SMTPServerAddress”, “SMTPServerPort”, “AccountName”) en la NVRAM a través de “nvram_safe_set”. Estos valores son posteriormente recuperados en la función “sub_448FDC” de “rc” usando “nvram_safe_get” y concatenados en comandos de shell ejecutados a través de “twsystem()” sin sanitización. Un atacante remoto no autenticado puede explotar esta vulnerabilidad para ejecutar comandos arbitrarios en el dispositivo a través de solicitudes HTTP especialmente diseñadas a la interfaz web del router.
References
| https://www.dlink.com/en/security-bulletin/ | vendor-advisory | |
| https://www.dlink.com | product | |
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-882/1.md | broken-link | |
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-882/CVE-2025-60701.md | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-60701 changed 2025-11-14 | CVE Terms of Use |
| NVD | CVE-2025-60701 changed 2026-11-05 | Public domain |